summaryrefslogtreecommitdiff
path: root/intel
diff options
context:
space:
mode:
authorDamien Lespiau <damien.lespiau@intel.com>2013-02-13 16:09:38 +0000
committerDamien Lespiau <damien.lespiau@intel.com>2014-09-30 12:18:17 +0100
commit00847fa48b83a85b0cb882594a12ed1511f780db (patch)
tree74898672d402c5e98a0e91602d455097608b1ed8 /intel
parentf1e15d1221288bcc010a743d46ffe37d4216dbea (diff)
intel/skl: add gen9 to the CS decoding init
Signed-off-by: Damien Lespiau <damien.lespiau@intel.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Signed-off-by: Ben Widawsky <ben@bwidawsk.net>
Diffstat (limited to 'intel')
-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 a5d6e04a..7d5cbe5a 100644
--- a/intel/intel_decode.c
+++ b/intel/intel_decode.c
@@ -3829,7 +3829,9 @@ drm_intel_decode_context_alloc(uint32_t devid)
ctx->devid = devid;
ctx->out = stdout;
- if (IS_GEN8(devid))
+ if (IS_GEN9(devid))
+ ctx->gen = 9;
+ else if (IS_GEN8(devid))
ctx->gen = 8;
else if (IS_GEN7(devid))
ctx->gen = 7;