intel/skl: add gen9 to the CS decoding init
authorDamien Lespiau <damien.lespiau@intel.com>
Wed, 13 Feb 2013 16:09:38 +0000 (16:09 +0000)
committerDamien Lespiau <damien.lespiau@intel.com>
Tue, 30 Sep 2014 11:18:17 +0000 (12:18 +0100)
Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Signed-off-by: Ben Widawsky <ben@bwidawsk.net>
intel/intel_decode.c

index a5d6e04..7d5cbe5 100644 (file)
@@ -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;