linux/include/drm
Thomas Hellstrom fe25deb773 drm/ttm, drm/vmwgfx: Relax permission checking when opening surfaces
Previously, when a surface was opened using a legacy (non prime) handle,
it was verified to have been created by a client in the same master realm.
Relax this so that opening is also allowed recursively if the client
already has the surface open.

This works around a regression in svga mesa where opening of a shared
surface is used recursively to obtain surface information.

Cc: <stable@vger.kernel.org>
Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
Reviewed-by: Sinclair Yeh <syeh@vmware.com>
2017-03-30 11:43:39 +02:00
..
bridge
i2c
tinydrm drm/tinydrm: helpers: Properly fix backlight dependency 2017-02-24 12:09:00 +10:00
ttm drm/ttm, drm/vmwgfx: Relax permission checking when opening surfaces 2017-03-30 11:43:39 +02:00
ati_pcigart.h
drmP.h Linux 4.10-rc8 2017-02-23 12:10:12 +10:00
drm_agpsupport.h
drm_atomic.h Linux 4.10-rc8 2017-02-23 12:10:12 +10:00
drm_atomic_helper.h
drm_auth.h
drm_blend.h
drm_bridge.h
drm_cache.h
drm_color_mgmt.h
drm_connector.h
drm_crtc.h
drm_crtc_helper.h
drm_debugfs_crc.h
drm_displayid.h
drm_dp_dual_mode_helper.h
drm_dp_helper.h
drm_dp_mst_helper.h
drm_drv.h
drm_edid.h Less anger inducing pull request for 4.11 2017-02-23 18:58:18 -08:00
drm_encoder.h
drm_encoder_slave.h
drm_fb_cma_helper.h
drm_fb_helper.h
drm_fixed.h
drm_flip_work.h
drm_fourcc.h
drm_framebuffer.h Less anger inducing pull request for 4.11 2017-02-23 18:58:18 -08:00
drm_gem.h
drm_gem_cma_helper.h
drm_global.h
drm_hashtab.h
drm_irq.h
drm_legacy.h
drm_mem_util.h
drm_mipi_dsi.h
drm_mm.h sched/headers: Prepare to remove the <linux/mm_types.h> dependency from <linux/sched.h> 2017-03-02 08:42:37 +01:00
drm_mode_config.h Linux 4.10-rc8 2017-02-23 12:10:12 +10:00
drm_mode_object.h
drm_modes.h
drm_modeset_helper.h
drm_modeset_helper_vtables.h
drm_modeset_lock.h
drm_of.h
drm_os_linux.h sched/headers: Prepare to move signal wakeup & sigpending methods from <linux/sched.h> into <linux/sched/signal.h> 2017-03-02 08:42:32 +01:00
drm_panel.h
drm_pciids.h
drm_plane.h
drm_plane_helper.h
drm_print.h
drm_property.h
drm_rect.h
drm_simple_kms_helper.h
drm_sysfs.h
drm_vma_manager.h
gma_drm.h
i915_component.h
i915_drm.h
i915_pciids.h
intel-gtt.h
intel_lpe_audio.h