summaryrefslogtreecommitdiffstats
path: root/sys/dev/drm2/i915
diff options
context:
space:
mode:
authorbapt <bapt@FreeBSD.org>2015-08-26 22:09:12 +0000
committerbapt <bapt@FreeBSD.org>2015-08-26 22:09:12 +0000
commitb5ec0fa7abe5d026ccb8717b47f67eaca39fa67f (patch)
treeca92fff85749735aedeb6a6e1eeff45aaabf666e /sys/dev/drm2/i915
parentd096d3b72eab5e4a394fd0d954c4b6b252ab00a1 (diff)
downloadFreeBSD-src-b5ec0fa7abe5d026ccb8717b47f67eaca39fa67f.zip
FreeBSD-src-b5ec0fa7abe5d026ccb8717b47f67eaca39fa67f.tar.gz
Back out a change which should not have been committed yet
Diffstat (limited to 'sys/dev/drm2/i915')
-rw-r--r--sys/dev/drm2/i915/i915_gem.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/drm2/i915/i915_gem.c b/sys/dev/drm2/i915/i915_gem.c
index b27a91e..3a59623 100644
--- a/sys/dev/drm2/i915/i915_gem.c
+++ b/sys/dev/drm2/i915/i915_gem.c
@@ -206,7 +206,7 @@ int i915_mutex_lock_interruptible(struct drm_device *dev)
static inline bool
i915_gem_object_is_inactive(struct drm_i915_gem_object *obj)
{
- return obj->gtt_space && !obj->active;
+ return !obj->active;
}
int
OpenPOWER on IntegriCloud