alistair23-linux/include/drm/ttm
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
..
ttm_bo_api.h Less anger inducing pull request for 4.11 2017-02-23 18:58:18 -08:00
ttm_bo_driver.h Less anger inducing pull request for 4.11 2017-02-23 18:58:18 -08:00
ttm_execbuf_util.h dma-buf: Rename struct fence to dma_fence 2016-10-25 14:40:39 +02: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-03-30 11:43:39 +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