[PATCH] intel: Fix decode of Gen7 3DSTATE_VERTEX_BUFFERS

Chris Forbes chrisf at ijw.co.nz
Thu Nov 20 04:06:11 PST 2014


Buffer index / access mode bits are the same as on Gen6.

Signed-off-by: Chris Forbes <chrisf at 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 {
-- 
2.1.3



More information about the dri-devel mailing list