linux_dsm_epyc7002/drivers/gpu/drm/amd/display
Shirish S 843e3c7df6 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-07 16:27:01 -05:00
..
amdgpu_dm drm/amd/display: defer modeset check in dm_update_planes_state 2018-03-07 16:27:01 -05:00
dc drm/amd/display: Don't blow up if TG is NULL in dce110_vblank_set 2018-03-07 16:27:01 -05:00
include drm/amd/display: Remove grph_object_id.c and move function to bios_parser 2017-12-14 11:01:07 -05:00
modules drm/amdgpu: add license to Makefiles 2017-12-07 11:51:10 -05:00
Kconfig drm/amd/display: make FBC configurable option 2017-10-21 16:46:05 -04:00
Makefile drm/amdgpu: add license to Makefiles 2017-12-07 11:51:10 -05:00
TODO drm/amd/display: Add TODO item to remove vector.c 2017-12-14 11:01:13 -05:00