Buffer index / access mode bits are the same as on Gen6.
Signed-off-by: Chris Forbes chrisf@ijw.co.nz --- intel/intel_decode.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/intel/intel_decode.c b/intel/intel_decode.c index 7d5cbe5..adda29a 100644 --- a/intel/intel_decode.c +++ b/intel/intel_decode.c @@ -3383,7 +3383,7 @@ decode_3d_965(struct drm_intel_decode *ctx)
for (i = 1; i < len;) { int idx, access; - if (IS_GEN6(devid)) { + if (IS_GEN6(devid) || IS_GEN7(devid)) { idx = 26; access = 20; } else {