summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDamien Lespiau <damien.lespiau@intel.com>2013-02-13 16:09:34 +0000
committerBen Widawsky <benjamin.widawsky@intel.com>2013-11-07 17:09:07 -0800
commit946f847dc6683c88f69ea75e521d83ffbab4d40a (patch)
tree36575fa8123c86228e04ce116dd03cccc4931606
parent5b348f3ac0069485ecd86ee30483646fad4b01cc (diff)
intel/bdw: Add gen8 to the decode init
Signed-off-by: Damien Lespiau <damien.lespiau@intel.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Eric Anholt <eric@anholt.net> Signed-off-by: Ben Widawsky <ben@bwidawsk.net>
-rw-r--r--intel/intel_decode.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/intel/intel_decode.c b/intel/intel_decode.c
index 1b80b752..c0a0cafc 100644
--- a/intel/intel_decode.c
+++ b/intel/intel_decode.c
@@ -3827,7 +3827,9 @@ drm_intel_decode_context_alloc(uint32_t devid)
ctx->devid = devid;
ctx->out = stdout;
- if (IS_GEN7(devid))
+ if (IS_GEN8(devid))
+ ctx->gen = 8;
+ else if (IS_GEN7(devid))
ctx->gen = 7;
else if (IS_GEN6(devid))
ctx->gen = 6;