drm/vmwgfx: Allow dropped masters render-node like access on legacy nodes v2
authorThomas Hellstrom <thellstrom@vmware.com>
Thu, 27 Aug 2015 17:06:24 +0000 (10:06 -0700)
committerThomas Hellstrom <thellstrom@vmware.com>
Tue, 1 Sep 2015 09:06:02 +0000 (02:06 -0700)
Applications like gnome-shell may try to render after dropping master
privileges. Since the driver should now be safe against this scenario,
allow those applications to use their legacy node like a render node.

v2: Add missing return statement.

Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
Reviewed-by: Sinclair Yeh <syeh@vmware.com>
drivers/gpu/drm/vmwgfx/vmwgfx_drv.c
drivers/gpu/drm/vmwgfx/vmwgfx_surface.c

Simple merge