linux_dsm_epyc7002/drivers/gpu/drm/amd/display
Nicholas Kazlauskas 6eb3cf2e06 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: a24eaa5c51 ("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>
Cc: stable@vger.kernel.org
2020-06-30 22:15:12 -04:00
..
amdgpu_dm drm/amd/display: Fix ineffective setting of max bpc property 2020-06-24 18:03:09 -04:00
dc drm/amd/display: Only revalidate bandwidth on medium and fast updates 2020-06-30 22:15:12 -04:00
dmub drm/amd/display: Add struct field for future use 2020-05-05 13:12:40 -04:00
include drm/amd/display: query hdcp capability during link detect 2020-04-09 10:43:17 -04:00
modules drm/amd/display: Use kfree() to free rgb_user in calculate_user_regamma_ramp() 2020-06-10 18:00:24 -04:00
Kconfig drm: amd/display: fix Kconfig help text 2020-04-23 15:06:41 -04:00
Makefile
TODO