]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
drm/amd/display: Program triplebuffer on all pipes
authorSung Lee <Sung.Lee@amd.com>
Fri, 2 May 2025 20:07:44 +0000 (16:07 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 13 May 2025 13:31:15 +0000 (09:31 -0400)
commit90af999835130c506e7e58482474bef3414dd9fa
treee3d066e310731a4ff2d531f79a1f3cfac58138c4
parente91c91e506e156920ce9d5d901dced00b534d9ad
drm/amd/display: Program triplebuffer on all pipes

[WHY]
Triplebuffer should be programmed on all pipes.
Some code assumed it only needed to be called on top
pipe, but as the HWSS function does not account
for that, it must be called on every pipe.

[HOW]
Remove condition to not program triplebuffer
on non-top/next pipe. Call the function
unconditionally on all pipes.

Reviewed-by: Dillon Varone <dillon.varone@amd.com>
Reviewed-by: Aric Cyr <aric.cyr@amd.com>
Signed-off-by: Sung Lee <Sung.Lee@amd.com>
Signed-off-by: Ray Wu <ray.wu@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
drivers/gpu/drm/amd/display/dc/hwss/dcn20/dcn20_hwseq.c
drivers/gpu/drm/amd/display/dc/hwss/dcn401/dcn401_hwseq.c