diff options
author | Owain Ainsworth <oga@cvs.openbsd.org> | 2010-04-25 22:35:13 +0000 |
---|---|---|
committer | Owain Ainsworth <oga@cvs.openbsd.org> | 2010-04-25 22:35:13 +0000 |
commit | 4e511d6c5e0672555faea0090bc3999960bc66e5 (patch) | |
tree | cfe0b6438f723abc0f328b2c8f6751d4d1beadf1 /sys/dev | |
parent | 69d3b1499f2fcd8b35e56e77aebf4dc0803acb4f (diff) |
Argh, commited the wrong diff. This was the reversed test that found the
libdrm bug recently.
Correct to what was intended.
Diffstat (limited to 'sys/dev')
-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; } |