diff options
author | 2020-11-20 20:18:59 +0000 | |
---|---|---|
committer | 2020-11-24 12:09:52 -0500 | |
commit | 12f4849a1cfd69f3c37cca042f2e9c512f923741 (patch) | |
tree | 7ed5df3ca69a5ff23359049dddfc526dcc83e7c8 /drivers/gpu/drm/amd/amdgpu/cik_sdma.c | |
parent | drm/amd/display: disallow cropping for cursor plane (diff) | |
download | linux-rng-12f4849a1cfd69f3c37cca042f2e9c512f923741.tar.xz linux-rng-12f4849a1cfd69f3c37cca042f2e9c512f923741.zip |
drm/amd/display: check cursor scaling
Don't allow user-space to set different scaling parameters for the
cursor plane and for the primary plane. Because of DCE/DCN design,
it's not possible to have a mismatch.
The old check in dm_update_plane_state is superseded by this new
check.
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Simon Ser <contact@emersion.fr>
Cc: Alex Deucher <alexander.deucher@amd.com>
Cc: Harry Wentland <hwentlan@amd.com>
Cc: Nicholas Kazlauskas <nicholas.kazlauskas@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/cik_sdma.c')
0 files changed, 0 insertions, 0 deletions