[PATCH 1/2] sna: Fix URB offset shift on 3DSTATE_SBE

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Unfortunatelly this doesn't the bug I was hunting, but let's follow
the spec.

Signed-off-by: Rodrigo Vivi <rodrigo.vivi@xxxxxxxxx>
---
 src/sna/gen8_render.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/sna/gen8_render.h b/src/sna/gen8_render.h
index 0bcdf10..29f3e97 100644
--- a/src/sna/gen8_render.h
+++ b/src/sna/gen8_render.h
@@ -125,7 +125,7 @@
 # define SBE_SWIZZLE_ENABLE                (1 << 21)
 # define SBE_POINT_SPRITE_LOWERLEFT        (1 << 20)
 # define SBE_URB_ENTRY_READ_LENGTH_SHIFT   11
-# define SBE_URB_ENTRY_READ_OFFSET_SHIFT   4
+# define SBE_URB_ENTRY_READ_OFFSET_SHIFT   5
 
 #define GEN8_3DSTATE_PS                                 GEN8_3D(3, 0, 0x20)
 /* DW1: kernel pointer */
-- 
1.9.3

_______________________________________________
Intel-gfx mailing list
Intel-gfx@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/intel-gfx




[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]
  Powered by Linux