linux_dsm_epyc7002/drivers/gpu/drm/amd/display/amdgpu_dm
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_helpers.c drm/amd/display: Break out amdgpu_dm_connector 2017-09-26 18:17:37 -04:00
amdgpu_dm_irq.c drm/amd/display: Use real number of CRTCs and HPDs in set_irq_funcs 2017-12-04 16:41:40 -05:00
amdgpu_dm_irq.h drm/amd/display: make amdgpu_dm_irq_handler static 2017-10-17 10:43:04 +10:00
amdgpu_dm_mst_types.c drm/amd/display: Fix rehook MST display not light back on 2017-12-20 14:46:38 -05:00
amdgpu_dm_mst_types.h drm/amd/display: Fix rehook MST display not light back on 2017-12-20 14:46:38 -05:00
amdgpu_dm_services.c drm/amd/display: performance profiling instrumentation 2017-12-06 12:48:08 -05:00
amdgpu_dm.c drm/amd/display: defer modeset check in dm_update_planes_state 2018-03-07 16:27:01 -05:00
amdgpu_dm.h drm/amd/display: Fix rehook MST display not light back on 2017-12-20 14:46:38 -05:00
Makefile drm/amdgpu: add license to Makefiles 2017-12-07 11:51:10 -05:00