linux/include/drm/ttm
Thomas Hellstrom b116797b81 drm/ttm, drm/vmwgfx: Relax permission checking when opening surfaces
commit fe25deb773 upstream.

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.

Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
Reviewed-by: Sinclair Yeh <syeh@vmware.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
History 2017-04-12 12:41:10 +02:00
..
ttm_bo_api.h drm/ttm: move placement structures into ttm_placement.h 2016-09-14 15:10:43 -04:00
ttm_bo_driver.h drm/ttm: remove cpu_address member from ttm_tt 2016-09-16 15:53:05 -04:00
ttm_execbuf_util.h drm/ttm: optionally move duplicates to a separate list 2014-12-03 18:26:52 -05:00
ttm_lock.h UAPI: (Scripted) Convert #include "..." to #include <path/...> in kernel system headers 2012-10-02 18:01:25 +01:00
ttm_memory.h drm/ttm: Add interface to export kernel_zone max memory size in ttm 2016-08-08 11:33:08 -04:00
ttm_module.h drm: move ttm global code to core drm 2010-08-04 09:46:06 +10:00
ttm_object.h drm/ttm, drm/vmwgfx: Relax permission checking when opening surfaces 2017-04-12 12:41:10 +02:00
ttm_page_alloc.h drm/ttm: declare 'struct device' in ttm_page_alloc.h 2014-02-18 14:01:48 +01:00
ttm_placement.h drm/ttm: move placement structures into ttm_placement.h 2016-09-14 15:10:43 -04:00