linux_dsm_epyc7002/drivers/gpu/drm/amd
Shirish S c21b68c5eb drm/amd/display: defer modeset check in dm_update_planes_state
amdgpu_dm_atomic_check() is used to validate the entire configuration of
planes and crtc's that the user space wants to commit.

However amdgpu_dm_atomic_check() depends upon DRM_MODE_ATOMIC_ALLOW_MODESET
flag else its mostly dummy.
Its not mandatory for the user space to set DRM_MODE_ATOMIC_ALLOW_MODESET,
and in general its not set either along with DRM_MODE_ATOMIC_TEST_ONLY.

Considering its importantance, this patch defers the allow_modeset check
in dm_update_planes_state(), so that there shall be scope to validate
the configuration sent from user space, without impacting the population
of dc/dm related data structures.

Signed-off-by: Shirish S <shirish.s@amd.com>
Reviewed-by: Harry Wentland <Harry.Wentland@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2018-03-05 15:36:10 -05:00
..
acp drm/amdgpu: add license to Makefiles 2017-12-07 11:51:10 -05:00
amdgpu drm/amdgpu: used cached pcie gen info for SI (v2) 2018-03-05 13:30:55 -05:00
amdkfd drm/amdkfd: Fix potential NULL pointer dereferences 2018-01-10 17:15:09 -06:00
display drm/amd/display: defer modeset check in dm_update_planes_state 2018-03-05 15:36:10 -05:00
include drm/amdgpu: Add query vram width in CGS query system info 2018-02-26 23:09:36 -05:00
lib drm/amdgpu: add license to Makefiles 2017-12-07 11:51:10 -05:00
powerplay drm/amd/pp: Print more smu failed info on Vega10 2018-02-28 14:18:06 -05:00