linux/drivers/gpu/drm/amd/display
Nicholas Kazlauskas cf322b49c9 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 <nicholas.kazlauskas@amd.com>
Reviewed-by: Rodrigo Siqueira <Rodrigo.Siqueira@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2020-08-06 15:46:25 -04:00
..
amdgpu_dm drm/amd/display: Avoid using unvalidated tiling_flags and tmz_surface in prepare_planes 2020-08-06 15:46:25 -04:00
dc drm/amd/display: Constify dcn30_res_pool_funcs 2020-08-04 17:29:29 -04:00
dmub drm/amd/display: [FW Promotion] Release 0.0.27 2020-08-04 17:29:28 -04:00
include drm/amd/display: add asics info for SI parts 2020-07-27 16:45:44 -04:00
modules drm/amd/display: Allow asic specific FSFT timing optimization 2020-07-30 14:13:04 -04:00
Kconfig drm/amd/display: enable SI support in the Kconfig (v2) 2020-07-28 09:22:57 -04:00
Makefile
TODO