mirror of
https://github.com/torvalds/linux.git
synced 2026-07-28 01:55:51 +02:00
drm/amd/display: Enable frame skipping in 0x37B
[Why & How] Enable frame skipping in 0x37B Reviewed-by: Wenjing Liu <wenjing.liu@amd.com> Signed-off-by: Chuntao Tso <chuntao.tso@amd.com> Signed-off-by: Ray Wu <ray.wu@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
parent
6352e60273
commit
7d5668d634
|
|
@ -1363,7 +1363,10 @@ union replay_enable_and_configuration {
|
|||
unsigned char FREESYNC_PANEL_REPLAY_MODE :1;
|
||||
unsigned char TIMING_DESYNC_ERROR_VERIFICATION :1;
|
||||
unsigned char STATE_TRANSITION_ERROR_DETECTION :1;
|
||||
unsigned char RESERVED :5;
|
||||
unsigned char FSFT_ENABLED :1;
|
||||
unsigned char FRAME_SKIPPING_ERROR_DETECTION :1;
|
||||
unsigned char FRAME_SKIPPING_ENABLE :1;
|
||||
unsigned char RESERVED :2;
|
||||
} bits;
|
||||
unsigned char raw;
|
||||
};
|
||||
|
|
|
|||
|
|
@ -1052,6 +1052,8 @@ bool edp_setup_freesync_replay(struct dc_link *link, const struct dc_stream_stat
|
|||
replay_config.bits.FREESYNC_PANEL_REPLAY_MODE = 1;
|
||||
replay_config.bits.TIMING_DESYNC_ERROR_VERIFICATION = 0;
|
||||
replay_config.bits.STATE_TRANSITION_ERROR_DETECTION = 1;
|
||||
replay_config.bits.FRAME_SKIPPING_ERROR_DETECTION = 1;
|
||||
replay_config.bits.FRAME_SKIPPING_ENABLE = 1;
|
||||
dm_helpers_dp_write_dpcd(link->ctx, link,
|
||||
DP_SINK_PR_ENABLE_AND_CONFIGURATION,
|
||||
(uint8_t *)&(replay_config.raw), sizeof(uint8_t));
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user