Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 286849
b: refs/heads/master
c: 075edca
h: refs/heads/master
i:
  286847: db1b22e
v: v3
  • Loading branch information
Daniel Vetter authored and Keith Packard committed Jan 24, 2012
1 parent 238f82a commit 7915d36
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 04115a9dee110b52a8eaa556c574022fa3bf4704
refs/heads/master: 075edca43b819c33bd755eaf7a3bd0e1b3279f70
4 changes: 2 additions & 2 deletions trunk/drivers/gpu/drm/i915/i915_debugfs.c
Original file line number Diff line number Diff line change
Expand Up @@ -1669,7 +1669,7 @@ static int i915_forcewake_open(struct inode *inode, struct file *file)
struct drm_i915_private *dev_priv = dev->dev_private;
int ret;

if (!IS_GEN6(dev))
if (INTEL_INFO(dev)->gen < 6)
return 0;

ret = mutex_lock_interruptible(&dev->struct_mutex);
Expand All @@ -1686,7 +1686,7 @@ int i915_forcewake_release(struct inode *inode, struct file *file)
struct drm_device *dev = inode->i_private;
struct drm_i915_private *dev_priv = dev->dev_private;

if (!IS_GEN6(dev))
if (INTEL_INFO(dev)->gen < 6)
return 0;

/*
Expand Down

0 comments on commit 7915d36

Please sign in to comment.