diff options
author | Rodrigo Siqueira <Rodrigo.Siqueira@amd.com> | 2022-07-13 13:17:41 -0400 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2022-07-25 09:31:01 -0400 |
commit | 074293dd9f61f11898f1f6e01f1560fd4c474025 (patch) | |
tree | 63b3bb33f7323fdf4af04fb056ce8a59cd8a3b28 /drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c | |
parent | e6c64182ed946f1cb65799de9ee75f8bcc42b2c6 (diff) | |
download | linux-074293dd9f61f11898f1f6e01f1560fd4c474025.tar.gz linux-074293dd9f61f11898f1f6e01f1560fd4c474025.tar.bz2 linux-074293dd9f61f11898f1f6e01f1560fd4c474025.zip |
drm/amd/display: Fix hard hang if DSC is disabled
We want to calculate the DTB clock values when DSC is enabled; however,
this is not the current behavior implemented in DCN32. Right now, DML is
trying to calculate DSC values even if DSC is disabled; as a result, we
can have a hard hang due to wrong clock calculation. This commit fixes
this issue by moving the calculation after the DSC check.
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Rodrigo Siqueira <Rodrigo.Siqueira@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c')
0 files changed, 0 insertions, 0 deletions