diff options
author | Thomas Hellstrom <thellstrom@vmware.com> | 2017-03-27 11:21:25 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-04-12 12:38:33 +0200 |
commit | ad4ae2feef4f65b860f139e0d8455e2a16efb93c (patch) | |
tree | 3bde924856c4889a196fef1599a6ba7768cba37c /sound/atmel | |
parent | 0e075f266749ea6507758123f553fece6664e4e2 (diff) |
drm/ttm, drm/vmwgfx: Relax permission checking when opening surfaces
commit fe25deb7737ce6c0879ccf79c99fa1221d428bf2 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>
Diffstat (limited to 'sound/atmel')
0 files changed, 0 insertions, 0 deletions