projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f4db932
)
drm/i915: Bail out once we've found the context object
author
Damien Lespiau
<damien.lespiau@intel.com>
Mon, 24 Jun 2013 13:54:50 +0000
(14:54 +0100)
committer
Daniel Vetter
<daniel.vetter@ffwll.ch>
Mon, 1 Jul 2013 09:27:49 +0000
(11:27 +0200)
Once we've found the the context object programmed in CCID, there's no
need to look the other objects in the list.
Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/i915_irq.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/i915/i915_irq.c
b/drivers/gpu/drm/i915/i915_irq.c
index 3d92a7cef1541bd20b2c4016cdc2447791991c56..92e78167ca84a237c3e22b714e6527bd11ebe903 100644
(file)
--- a/
drivers/gpu/drm/i915/i915_irq.c
+++ b/
drivers/gpu/drm/i915/i915_irq.c
@@
-1805,6
+1805,7
@@
static void i915_gem_record_active_context(struct intel_ring_buffer *ring,
if ((error->ccid & PAGE_MASK) == obj->gtt_offset) {
ering->ctx = i915_error_object_create_sized(dev_priv,
obj, 1);
+ break;
}
}
}