diff options
| author | Nicholas Kazlauskas <[email protected]> | 2019-08-02 14:31:29 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2019-08-06 18:52:05 +0000 |
| commit | 2cc450ceaae4febc1539975247d235eb06c11979 (patch) | |
| tree | bd104b88006d2cdc90aeddaba62eee3f7ad6fbff /drivers/gpu/drm/amd/amdgpu/amdgpu_object.h | |
| parent | drm/amdgpu: enable Navi12 kfd support for amdgpu (diff) | |
| download | kernel-2cc450ceaae4febc1539975247d235eb06c11979.tar.gz kernel-2cc450ceaae4febc1539975247d235eb06c11979.zip | |
drm/amd/display: Validate dc_plane_info and dc_plane_size in atomic check
[Why]
Pitch, DCC, rotation and mirroring can result in updates that are not
UPDATE_TYPE_FAST but UPDATE_TYPE_MED instead. DC needs dc_plane_info
and dc_plane_size to make this determination and we aren't currently
passing this into DC during atomic check.
Underflow (visible or non-visible) can occur if we don't validate this
correctly. This also will generally trigger p-state warnings, typically
via the cursor handler when locking.
[How]
Get the framebuffer tiling flags and generate the required structures
for DC in dm_determine_update_type_for_commit.
Signed-off-by: Nicholas Kazlauskas <[email protected]>
Reviewed-by: David Francis <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_object.h')
0 files changed, 0 insertions, 0 deletions
