]> www.infradead.org Git - users/hch/configfs.git/commit
drm/amd/display: Optimize vstartup position for AS-SDP
authorRobin Chen <robin.chen@amd.com>
Thu, 18 Jul 2024 08:48:26 +0000 (16:48 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 13 Aug 2024 14:44:16 +0000 (10:44 -0400)
commit027347d17a16562f3be272833243b835c21aa2a5
tree7ac2b9c1b32b88a6aeb195f56577974ef7f6fd89
parent3bb41f2e9134906e0814766c07dfbdd9de0bfaf5
drm/amd/display: Optimize vstartup position for AS-SDP

[Why]
In current design, the vstartup position is adjusted to
vblank start position when AS-SDP is enabled.
However when the vblank length is too big, it may over
vstartup boundary.

[How]
To adjust vstartup position to 1 line before vsync position.

Reviewed-by: Anthony Koo <anthony.koo@amd.com>
Signed-off-by: Robin Chen <robin.chen@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/dml/dcn20/dcn20_fpu.c