mirror of
https://gitlab.freedesktop.org/mesa/drm.git
synced 2025-12-20 08:10:11 +01:00
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>
This commit is contained in:
parent
5b348f3ac0
commit
946f847dc6
1 changed files with 3 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue