mirror of
https://github.com/torvalds/linux.git
synced 2026-07-28 18:21:24 +02:00
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>
This commit is contained in:
parent
4d8cfd5703
commit
95bb92e33e
|
|
@ -1725,8 +1725,10 @@ enum dc_status dcn42_validate_bandwidth(struct dc *dc,
|
|||
bool out = false;
|
||||
|
||||
DC_FP_START();
|
||||
|
||||
dcn42_decide_odm_override(dc, context);
|
||||
if (validate_mode == DC_VALIDATE_MODE_AND_PROGRAMMING) {
|
||||
/*only do this when programing HW*/
|
||||
dcn42_decide_odm_override(dc, context);
|
||||
}
|
||||
|
||||
out = dml2_validate(dc, context, context->bw_ctx.dml2,
|
||||
validate_mode);
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user