diff options
author | 2018-02-16 11:44:22 +0530 | |
---|---|---|
committer | 2018-03-07 16:27:01 -0500 | |
commit | 843e3c7df6bdd68cb0551875023236cbfe8c4c9d (patch) | |
tree | 879423ecfdd4c9d83469363eb07ff7739a5fc9da /tools/perf/scripts/python/export-to-postgresql.py | |
parent | drm/amd/display: Don't blow up if TG is NULL in dce110_vblank_set (diff) | |
download | wireguard-linux-843e3c7df6bdd68cb0551875023236cbfe8c4c9d.tar.xz wireguard-linux-843e3c7df6bdd68cb0551875023236cbfe8c4c9d.zip |
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>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions