drm/vmwgfx: Fix a case where the code would BUG when trying to pin GMR memory
authorThomas Hellstrom <thellstrom@vmware.com>
Fri, 9 Nov 2012 09:45:14 +0000 (10:45 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 17 Nov 2012 21:19:05 +0000 (13:19 -0800)
commit7ea9b315caa53539867855ae14584c2075ec4dc7
tree902efcc17b96aa994d336e85fc6bd326f57ed0cd
parent443b7c19cea4ec05349ff916b1a55b12a76c9981
drm/vmwgfx: Fix a case where the code would BUG when trying to pin GMR memory

commit afcc87aa6a233e52df73552dc1dc9ae3881b7cc8 upstream.

Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
Reviewed-by: Brian Paul <brianp@vmware.com>
Reviewed-by: Dmitry Torokhov <dtor@vmware.com>
Cc: linux-graphics-maintainer@vmware.com
Signed-off-by: Dave Airlie <airlied@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/gpu/drm/vmwgfx/vmwgfx_dmabuf.c