]> www.infradead.org Git - users/hch/misc.git/commit
drm/amd/display: Correct timing_adjust_pending flag setting.
authorZhongwei Zhang <Zhongwei.Zhang@amd.com>
Fri, 28 Feb 2025 02:35:23 +0000 (10:35 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 10 Mar 2025 17:30:40 +0000 (13:30 -0400)
commit34935701b7ed1a1ef449310ba041f10964b23cf4
tree6644a4ec383036310be1c44fd334369c0d1cf4fe
parentd3069feecdb5542604d29b59acfd1fd213bad95b
drm/amd/display: Correct timing_adjust_pending flag setting.

[Why&How]
stream->adjust will be overwritten by update->crtc_timing_adjust.
We should set update->crtc_timing_adjust->timing_adjust_pending
and then overwrite stream->adjust.
Reset update->crtc_timing_adjust->timing_adjust_pending after
the assignment.

Reviewed-by: Charlene Liu <charlene.liu@amd.com>
Signed-off-by: Zhongwei Zhang <Zhongwei.Zhang@amd.com>
Signed-off-by: Tom Chung <chiahsuan.chung@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/core/dc.c