]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
drm/amd/display: Add DC_VALIDATE_MODE_AND_PROGRAMMING condition check for force odm2:1
authorCharlene Liu <Charlene.Liu@amd.com>
Thu, 14 May 2026 21:41:30 +0000 (17:41 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 3 Jun 2026 17:32:05 +0000 (13:32 -0400)
commit95bb92e33e99cc89bc9975e7c934a81e806c14dc
treef6efedcadb8382079b8375a0c43d498ebb092300
parent4d8cfd570386eb0b6cb8aa0ca9e9db60a0404337
drm/amd/display: Add DC_VALIDATE_MODE_AND_PROGRAMMING condition check for force odm2:1

[Why & How]
Need to limit force ODM 2:1 to DC_VALIDATE_MODE_AND_PROGRAMMING only,
i.e. not block isCofunc check for topology mapping allowed.

Reviewed-by: Ovidiu Bunea <ovidiu.bunea@amd.com>
Signed-off-by: Charlene Liu <Charlene.Liu@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/resource/dcn42/dcn42_resource.c