mirror of
https://gitlab.freedesktop.org/mesa/drm.git
synced 2025-12-24 21:50:20 +01:00
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>
This commit is contained in:
parent
f1e15d1221
commit
00847fa48b
1 changed files with 3 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue