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:16:34 +0000 (13:16 -0800)
commit4fa1f62322efae688e5412a6e483777553898cf6
tree5821a48745906d9a50edfc4a0bfb82c03f1fe4a4
parent9feda1930e8fed6bb74d9375d00581f7c9ff2995
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