diff options
author | Nicholas Kazlauskas <[email protected]> | 2020-06-29 13:03:52 -0400 |
---|---|---|
committer | Alex Deucher <[email protected]> | 2020-06-30 22:15:12 -0400 |
commit | 6eb3cf2e06d22b2b08e6b0ab48cb9c05a8e1a107 (patch) | |
tree | 994f535ba8da9803c2ddd5bbad34f10b57403d2b /lib/test-string_helpers.c | |
parent | 7e89e4aaa9ae83107d059c186955484b3aa6eb23 (diff) |
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 <[email protected]>
Acked-by: Alex Deucher <[email protected]>
Reviewed-by: Roman Li <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Cc: [email protected]
Diffstat (limited to 'lib/test-string_helpers.c')
0 files changed, 0 insertions, 0 deletions