diff options
Diffstat (limited to 'sys')
-rw-r--r-- | sys/dev/pci/drm/i915_drv.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/pci/drm/i915_drv.c b/sys/dev/pci/drm/i915_drv.c index 237b6c335cb..7760c2b5ce9 100644 --- a/sys/dev/pci/drm/i915_drv.c +++ b/sys/dev/pci/drm/i915_drv.c @@ -4714,7 +4714,7 @@ i915_gem_set_tiling(struct drm_device *dev, void *data, obj_priv = (struct inteldrm_obj *)obj; drm_hold_object(obj); - if (obj_priv->pin_count == 0) { + if (obj_priv->pin_count != 0) { ret = EBUSY; goto out; } |