mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2025-01-24 19:49:21 +07:00
drm/amd/display: Respect PP_STUTTER_MODE but don't override DC_DISABLE_STUTTER
Signed-off-by: Harry Wentland <harry.wentland@amd.com> Reviewed-by: Nicholas Kazlauskas <nicholas.kazlauskas@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
parent
087a1ff8fb
commit
f99d876250
@ -923,6 +923,9 @@ static int amdgpu_dm_init(struct amdgpu_device *adev)
|
|||||||
adev->dm.dc->debug.pipe_split_policy = MPC_SPLIT_AVOID;
|
adev->dm.dc->debug.pipe_split_policy = MPC_SPLIT_AVOID;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (adev->asic_type != CHIP_CARRIZO && adev->asic_type != CHIP_STONEY)
|
||||||
|
adev->dm.dc->debug.disable_stutter = amdgpu_pp_feature_mask & PP_STUTTER_MODE ? false : true;
|
||||||
|
|
||||||
if (amdgpu_dc_debug_mask & DC_DISABLE_STUTTER)
|
if (amdgpu_dc_debug_mask & DC_DISABLE_STUTTER)
|
||||||
adev->dm.dc->debug.disable_stutter = true;
|
adev->dm.dc->debug.disable_stutter = true;
|
||||||
|
|
||||||
@ -3036,9 +3039,6 @@ static int amdgpu_dm_initialize_drm_device(struct amdgpu_device *adev)
|
|||||||
goto fail;
|
goto fail;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (adev->asic_type != CHIP_CARRIZO && adev->asic_type != CHIP_STONEY)
|
|
||||||
dm->dc->debug.disable_stutter = amdgpu_pp_feature_mask & PP_STUTTER_MODE ? false : true;
|
|
||||||
|
|
||||||
/* No userspace support. */
|
/* No userspace support. */
|
||||||
dm->dc->debug.disable_tri_buf = true;
|
dm->dc->debug.disable_tri_buf = true;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user