]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
drm/amd/display: Disable MPC rate control on ODM pipe update
authorGeorge Shen <george.shen@amd.com>
Thu, 5 Dec 2024 21:58:21 +0000 (16:58 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 18 Dec 2024 17:21:50 +0000 (12:21 -0500)
commit83626efdce0be2eb80696110fe55e9290c72b1f1
tree0e8fac382fed4f497f092e821ac636a6bb4b936a
parent95265e4b2b3a9e47b40ffaa6587f335e4aa0b549
drm/amd/display: Disable MPC rate control on ODM pipe update

[Why]
Seamless boot skips MPC init for the active pipe, resulting in stale MPC
rate control state being retained. This will cause issues since other
logic assumes it is disabled (as DCN30 and newer does not need it).

[How]
Disable MPC rate control on ODM pipe update to cover the seamless boot
case.

Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Reviewed-by: Alvin Lee <alvin.lee2@amd.com>
Signed-off-by: George Shen <george.shen@amd.com>
Signed-off-by: Rodrigo Siqueira <rodrigo.siqueira@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/hwss/dcn314/dcn314_hwseq.c
drivers/gpu/drm/amd/display/dc/hwss/dcn35/dcn35_hwseq.c
drivers/gpu/drm/amd/display/dc/mpc/dcn30/dcn30_mpc.c
drivers/gpu/drm/amd/display/dc/mpc/dcn30/dcn30_mpc.h