Tom Chung
e379787cbc
drm/amd/display: Add some functions for Panel Replay
...
[WHY]
Prepare for enabling the Panel Replay feature
[HOW]
- Add some Panel Replay setting functions in DC
- Add the Panel Replay resource in dcn35_resource.c
- Add debug masks for Panel Replay
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com >
Acked-by: Rodrigo Siqueira <rodrigo.siqueira@amd.com >
Reviewed-by: Leo Li <sunpeng.li@amd.com >
Signed-off-by: Tom Chung <chiahsuan.chung@amd.com >
Signed-off-by: Alex Deucher <alexander.deucher@amd.com >
2024-01-03 11:16:05 -05:00
Max Tseng
37f4382b64
drm/amd/display: replay: Augment Frameupdate Command
...
[Why]
Sending certain Frameupdate number for Replay Power Evaluation
Reviewed-by: Dennis Chan <dennis.chan@amd.com >
Acked-by: Hamza Mahfooz <hamza.mahfooz@amd.com >
Signed-off-by: Max Tseng <max.tseng@amd.com >
Signed-off-by: Alex Deucher <alexander.deucher@amd.com >
2023-11-29 16:48:59 -05:00
Max Tseng
c77b000859
drm/amd/display: replay: generalize the send command function usage
...
Augment the function to allow send different format data in different
use case.
Reviewed-by: Dennis Chan <dennis.chan@amd.com >
Acked-by: Hamza Mahfooz <hamza.mahfooz@amd.com >
Signed-off-by: Max Tseng <max.tseng@amd.com >
Signed-off-by: Alex Deucher <alexander.deucher@amd.com >
2023-11-29 16:48:59 -05:00
Dennis Chan
cee6de1224
drm/amd/display: Add new Replay command and Disabled Replay Timing Resync
...
[why]
To support dynamic switching for Replay timing sync mechanism.
Reviewed-by: ChunTao Tso <chuntao.tso@amd.com >
Acked-by: Hamza Mahfooz <hamza.mahfooz@amd.com >
Signed-off-by: Dennis Chan <dennis.chan@amd.com >
Signed-off-by: Alex Deucher <alexander.deucher@amd.com >
2023-11-29 16:24:09 -05:00
Bhawanpreet Lakha
c7ddc0a800
drm/amd/display: Add Functions to enable Freesync Panel Replay
...
Add various functions for replay, such as construct, destroy, enable
get_state, and copy_setting etc. These functions communicate with the
firmware to setup and enable panel replay
Signed-off-by: Bhawanpreet Lakha <Bhawanpreet.Lakha@amd.com >
Reviewed-by: Harry Wentland <harry.wentland@amd.com >
Signed-off-by: Alex Deucher <alexander.deucher@amd.com >
2023-08-07 17:12:49 -04:00