diff options
| author | Nicholas Kazlauskas <[email protected]> | 2019-03-28 19:50:06 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2019-04-15 05:21:55 +0000 |
| commit | 004b3938e6374f39d43cc32bd4953f2fe8b8905b (patch) | |
| tree | db61c311c5776eb7cc888f179063a5fff7a37622 /drivers/gpu/drm/amd/amdgpu/amdgpu_object.c | |
| parent | drm/amd/display: Don't warn when DC update type > DM guess (diff) | |
| download | kernel-004b3938e6374f39d43cc32bd4953f2fe8b8905b.tar.gz kernel-004b3938e6374f39d43cc32bd4953f2fe8b8905b.zip | |
drm/amd/display: Check scaling info when determing update type
[Why]
Surface scaling info updates can affect bandwidth and blocks. We need
to be checking these with global validation to avoid underflow or
corruption.
[How]
Drop the state->allow_modeset early exit in
dm_determine_update_type_for_commit. Most of those should be considered
fast now anyway.
Fill in scaling info and it to the surface update in atomic
check.
Signed-off-by: Nicholas Kazlauskas <[email protected]>
Reviewed-by: David Francis <[email protected]>
Acked-by: Bhawanpreet Lakha <Bhawanpreet [email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_object.c')
0 files changed, 0 insertions, 0 deletions
