vmwgfx: Allow reference and unreference of NULL fence objects.
authorThomas Hellstrom <thellstrom@vmware.com>
Tue, 4 Oct 2011 18:13:29 +0000 (20:13 +0200)
committerDave Airlie <airlied@redhat.com>
Wed, 5 Oct 2011 09:17:21 +0000 (10:17 +0100)
commite93daed8e2fd5ce3dc98efe9938426127a534ccc
tree17414286b33992253ddbe04bd84c797342af01f8
parentb37a6b9ad002a6c123a6924668dfef5c5fb0b700
vmwgfx: Allow reference and unreference of NULL fence objects.

The execbuf utils may call reference on NULL fence objects.

Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
Reviewed-by: Jakob Bornecrantz <jakob@vmware.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/vmwgfx/vmwgfx_fence.c