diff options
| author | Nicholas Kazlauskas <[email protected]> | 2020-07-28 10:03:10 -0400 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2020-08-06 15:46:25 -0400 |
| commit | cf322b49c9e8fe41e5c9d0b5e57eee84085da553 (patch) | |
| tree | b47e0d5bb74d635ab29dbca65993cfb6c0af83b1 /tools/perf/scripts/python/sctop.py | |
| parent | 9a81cc60796b9f86cf19245e68562750541bb575 (diff) | |
drm/amd/display: Avoid using unvalidated tiling_flags and tmz_surface in prepare_planes
[Why]
We're racing with userspace as the flags could potentially change
from when we acquired and validated them in commit_check.
[How]
We unfortunately can't drop this function in its entirety from
prepare_planes since we don't know the afb->address at commit_check
time yet.
So instead of querying new tiling_flags and tmz_surface use the ones
from the plane_state directly.
While we're at it, also update the force_disable_dcc option based
on the state from atomic check.
Signed-off-by: Nicholas Kazlauskas <[email protected]>
Reviewed-by: Rodrigo Siqueira <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/sctop.py')
0 files changed, 0 insertions, 0 deletions