Files
linux/drivers/gpu/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
..
2017-03-17 14:44:34 -04:00
2017-02-27 18:43:47 -08:00
2017-02-23 12:10:12 +10:00
2016-09-06 13:56:41 -04:00
2016-09-19 13:57:38 +02:00
2017-01-26 10:45:31 +01:00
2017-01-26 10:45:14 +01:00
2016-12-30 11:43:40 +01:00