summaryrefslogtreecommitdiff
path: root/src/sna/gen7_render.c
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2012-07-25 20:13:15 +0100
committerChris Wilson <chris@chris-wilson.co.uk>2012-07-25 21:16:57 +0100
commit901bb618215d65747eb0a8d481c77c1201f69362 (patch)
treefbcc8927d7b781d2cd9641d5f8a92f9353832f76 /src/sna/gen7_render.c
parent8c5077e4ed055a97bf9deda59c0e9a45e42317ca (diff)
sna/gen7: Remove duplicated constants
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'src/sna/gen7_render.c')
-rw-r--r--src/sna/gen7_render.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sna/gen7_render.c b/src/sna/gen7_render.c
index ae0aa9d3..a8d40b69 100644
--- a/src/sna/gen7_render.c
+++ b/src/sna/gen7_render.c
@@ -4277,7 +4277,7 @@ static bool gen7_render_setup(struct sna *sna)
*/
null_create(&general);
- for (m = 0; m < GEN7_KERNEL_COUNT; m++)
+ for (m = 0; m < GEN7_WM_KERNEL_COUNT; m++)
state->wm_kernel[m] =
sna_static_stream_add(&general,
wm_kernels[m].data,