Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 318597
b: refs/heads/master
c: e158c5a
h: refs/heads/master
i:
  318595: ab7d384
v: v3
  • Loading branch information
Ben Widawsky authored and Daniel Vetter committed Jun 18, 2012
1 parent af8f7de commit 7074902
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 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: 39fb50f6178d7dbd70142b25193d722ebf3f8193
refs/heads/master: e158c5aa1776372cd751e2c395300a3a6ff0bc9c
4 changes: 3 additions & 1 deletion trunk/drivers/gpu/drm/i915/i915_gem_context.c
Original file line number Diff line number Diff line change
Expand Up @@ -243,8 +243,10 @@ void i915_gem_context_init(struct drm_device *dev)
struct drm_i915_private *dev_priv = dev->dev_private;
uint32_t ctx_size;

if (!HAS_HW_CONTEXTS(dev))
if (!HAS_HW_CONTEXTS(dev)) {
dev_priv->hw_contexts_disabled = true;
return;
}

/* If called from reset, or thaw... we've been here already */
if (dev_priv->hw_contexts_disabled ||
Expand Down

0 comments on commit 7074902

Please sign in to comment.