Re: [ANNOUNCE] 3.8.9-rt4

From: Carsten Emde
Date: Sat Apr 27 2013 - 17:52:20 EST

Hi Sebastian,

I'm pleased to announce the 3.8.9-rt4 release. [..]
This patch is needed to prevent the compiler error
error: 'seqno' undeclared (first use in this function)

Signed-off-by: Carsten Emde <C.Emde@xxxxxxxxx>

Index: linux-3.8.4-rt2/drivers/gpu/drm/i915/i915_gem_execbuffer.c
--- linux-3.8.4-rt2.orig/drivers/gpu/drm/i915/i915_gem_execbuffer.c
+++ linux-3.8.4-rt2/drivers/gpu/drm/i915/i915_gem_execbuffer.c
@@ -814,6 +814,7 @@ i915_gem_do_execbuffer(struct drm_device
struct intel_ring_buffer *ring;
u32 ctx_id = i915_execbuffer2_get_context_id(*args);
u32 exec_start, exec_len;
+ u32 seqno;
u32 mask;
u32 flags;
int ret, mode, i;
@@ -1068,7 +1069,8 @@ i915_gem_do_execbuffer(struct drm_device
goto err;

- trace_i915_gem_ring_dispatch(ring, intel_ring_get_seqno(ring), flags);
+ seqno = intel_ring_get_seqno(ring);
+ trace_i915_gem_ring_dispatch(ring, seqno, flags);
i915_trace_irq_get(ring, seqno);

i915_gem_execbuffer_move_to_active(&objects, ring);

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at