Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 232331
b: refs/heads/master
c: 475553d
h: refs/heads/master
i:
  232329: dc50a3c
  232327: edebfc5
v: v3
  • Loading branch information
Chris Wilson committed Jan 20, 2011
1 parent 00ecaae commit 340e495
Show file tree
Hide file tree
Showing 2 changed files with 6 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: f7ab9b407b3bc83161c2aa74c992ba4782e87c9c
refs/heads/master: 475553de2fc861d53396dd8fd14cc22f30ab97ab
6 changes: 5 additions & 1 deletion trunk/drivers/gpu/drm/i915/i915_irq.c
Original file line number Diff line number Diff line change
Expand Up @@ -348,8 +348,12 @@ static void notify_ring(struct drm_device *dev,
struct intel_ring_buffer *ring)
{
struct drm_i915_private *dev_priv = dev->dev_private;
u32 seqno = ring->get_seqno(ring);
u32 seqno;

if (ring->obj == NULL)
return;

seqno = ring->get_seqno(ring);
trace_i915_gem_request_complete(dev, seqno);

ring->irq_seqno = seqno;
Expand Down

0 comments on commit 340e495

Please sign in to comment.