]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/amd/display: Actually do immediate vblank disable
authorLeo Li <sunpeng.li@amd.com>
Tue, 11 Mar 2025 13:43:38 +0000 (09:43 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 26 Mar 2025 21:43:47 +0000 (17:43 -0400)
commit704bc361e3a4ead1c0eb40acc255b636b788dc89
tree40adcbfa565b9c064e9cb5dc92bcd8a74c8a8f9d
parent8058061ed9d6bc259d1e678607b07d259342c08f
drm/amd/display: Actually do immediate vblank disable

[Why]

The `vblank_config.offdelay` field follows the same semantics as the
`drm_vblank_offdelay` parameter. Setting it to 0 will never disable
vblank.

[How]

Set `offdelay` to a positive number.

Fixes: e45b6716de4b ("drm/amd/display: use a more lax vblank enable policy for DCN35+")
Reviewed-by: Harry Wentland <harry.wentland@amd.com>
Signed-off-by: Leo Li <sunpeng.li@amd.com>
Signed-off-by: Aurabindo Pillai <aurabindo.pillai@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Cc: stable@vger.kernel.org
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c