]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/display: Use validated tiling_flags and tmz_surface in commit_tail
authorNicholas Kazlauskas <nicholas.kazlauskas@amd.com>
Thu, 6 Aug 2020 19:48:10 +0000 (15:48 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 6 Aug 2020 19:48:54 +0000 (15:48 -0400)
commit04a18b726f2ede87f80482de5c872bb45a27fedc
treec5b67fb909f1d4e4c990cf3082dba4e94fe8815a
parent9a5af1f3ec268e38046743501469e59844588e93
drm/amd/display: Use validated tiling_flags and tmz_surface in commit_tail

[Why]
So we're not racing with userspace or deadlocking DM.

[How]
These flags are now stored on dm_plane_state itself and acquried and
validated during commit_check, so just use those instead.

Signed-off-by: Nicholas Kazlauskas <nicholas.kazlauskas@amd.com>
Reviewed-by: Rodrigo Siqueira <Rodrigo.Siqueira@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c