]> git.baikalelectronics.ru Git - kernel.git/commit
drm/atomic: Wire file_priv through for property changes
authorDaniel Vetter <daniel.vetter@ffwll.ch>
Thu, 28 Feb 2019 14:49:09 +0000 (15:49 +0100)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 24 Apr 2019 09:30:52 +0000 (11:30 +0200)
commit96767d12a1d30b99bc1a75e8241e2e1cb57c7fe4
tree8297267aa83b2c0057424edf803993edaba3b530
parent5c3ccbb569a83b3ae23b8700326a7985002119fd
drm/atomic: Wire file_priv through for property changes

We need this to make sure lessees can only connect their
plane/connectors to crtc objects they own. And note that this is
irrespective of whether the lessor is atomic or not, lessor cannot
prevent lessees from enabling atomic.

Cc: stable@vger.kernel.org
Cc: Keith Packard <keithp@keithp.com>
Reviewed-by: Dave Airlie <airlied@redhat.com>
Signed-off-by: Daniel Vetter <daniel.vetter@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20190228144910.26488-7-daniel.vetter@ffwll.ch
drivers/gpu/drm/drm_atomic_uapi.c
drivers/gpu/drm/drm_crtc_internal.h
drivers/gpu/drm/drm_mode_object.c