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)
committerDave Airlie <airlied@redhat.com>
Fri, 9 Nov 2012 10:49:06 +0000 (20:49 +1000)
commitafcc87aa6a233e52df73552dc1dc9ae3881b7cc8
treed39b407af26ea604cbeacbdb569cf2ff43ae21d5
parent95e8f6a21996c4cc2c4574b231c6e858b749dce3
drm/vmwgfx: Fix a case where the code would BUG when trying to pin GMR memory

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