Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 275888
b: refs/heads/master
c: 775d17b
h: refs/heads/master
v: v3
  • Loading branch information
Daniel Vetter authored and Keith Packard committed Nov 3, 2011
1 parent 3497116 commit 5489ffa
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 616fdb5afb12b4d5bb9e36df40d039e86aaaefc2
refs/heads/master: 775d17b6ca4357048f36c22151335addfe15db4b
1 change: 1 addition & 0 deletions trunk/drivers/gpu/drm/i915/i915_irq.c
Original file line number Diff line number Diff line change
Expand Up @@ -824,6 +824,7 @@ static void i915_gem_record_fences(struct drm_device *dev,

/* Fences */
switch (INTEL_INFO(dev)->gen) {
case 7:
case 6:
for (i = 0; i < 16; i++)
error->fence[i] = I915_READ64(FENCE_REG_SANDYBRIDGE_0 + (i * 8));
Expand Down
2 changes: 2 additions & 0 deletions trunk/drivers/gpu/drm/i915/i915_suspend.c
Original file line number Diff line number Diff line change
Expand Up @@ -370,6 +370,7 @@ static void i915_save_modeset_reg(struct drm_device *dev)

/* Fences */
switch (INTEL_INFO(dev)->gen) {
case 7:
case 6:
for (i = 0; i < 16; i++)
dev_priv->saveFENCE[i] = I915_READ64(FENCE_REG_SANDYBRIDGE_0 + (i * 8));
Expand Down Expand Up @@ -404,6 +405,7 @@ static void i915_restore_modeset_reg(struct drm_device *dev)

/* Fences */
switch (INTEL_INFO(dev)->gen) {
case 7:
case 6:
for (i = 0; i < 16; i++)
I915_WRITE64(FENCE_REG_SANDYBRIDGE_0 + (i * 8), dev_priv->saveFENCE[i]);
Expand Down

0 comments on commit 5489ffa

Please sign in to comment.