summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_atomfirmware.c
diff options
context:
space:
mode:
authorNicholas Kazlauskas <nicholas.kazlauskas@amd.com>2020-06-29 13:03:52 -0400
committerAlex Deucher <alexander.deucher@amd.com>2020-07-02 12:02:56 -0400
commit33d63b1f4d3a47f4697f86ab83b1c7221da4236e (patch)
treebe9d0f94e051ba211e110002bb9f3269e2831536 /drivers/gpu/drm/amd/amdgpu/amdgpu_atomfirmware.c
parentecc874a6e7cb398b363b4e078fca4c097cb286ab (diff)
downloadlinux-33d63b1f4d3a47f4697f86ab83b1c7221da4236e.tar.bz2
drm/amd/display: Only revalidate bandwidth on medium and fast updates
[Why] Changes that are fast don't require updating DLG parameters making this call unnecessary. Considering this is an expensive call it should not be done on every flip. DML touches clocks, p-state support, DLG params and a few other DC internal flags and these aren't expected during fast. A hang has been reported with this change when called on every flip which suggests that modifying these fields is not recommended behavior on fast updates. [How] Guard the validation to only happen if update type isn't FAST. Bug: https://gitlab.freedesktop.org/drm/amd/-/issues/1191 Fixes: a24eaa5c51255b ("drm/amd/display: Revalidate bandwidth before commiting DC updates") Signed-off-by: Nicholas Kazlauskas <nicholas.kazlauskas@amd.com> Acked-by: Alex Deucher <alexander.deucher@amd.com> Reviewed-by: Roman Li <Roman.Li@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_atomfirmware.c')
0 files changed, 0 insertions, 0 deletions