OSDN Git Service
(root)
/
android-x86
/
external-libdrm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3b5cc13
)
intel: fix length mask for Gen5/Gen6 3DSTATE_CLEAR_PARAMS
author
Chris Forbes
<chrisf@ijw.co.nz>
Mon, 28 Jan 2013 08:01:18 +0000
(08:01 +0000)
committer
Kenneth Graunke
<kenneth@whitecape.org>
Wed, 6 Feb 2013 19:20:05 +0000
(11:20 -0800)
On Gen6, bit 15 is now `Depth Clear Value Valid`. This was being treated
as part of the length, and failing the rest of the batchbuffer decode.
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Signed-off-by: Chris Forbes <chrisf@ijw.co.nz>
intel/intel_decode.c
patch
|
blob
|
history
diff --git
a/intel/intel_decode.c
b/intel/intel_decode.c
index
a4b045a
..
842921b
100644
(file)
--- a/
intel/intel_decode.c
+++ b/
intel/intel_decode.c
@@
-3224,7
+3224,7
@@
decode_3d_965(struct drm_intel_decode *ctx)
{ 0x790b, 0xffff, 4, 4, "3DSTATE_GS_SVB_INDEX" },
{ 0x790d, 0xffff, 3, 3, "3DSTATE_MULTISAMPLE", 6 },
{ 0x790d, 0xffff, 4, 4, "3DSTATE_MULTISAMPLE", 7 },
- { 0x7910, 0x
ff
ff, 2, 2, "3DSTATE_CLEAR_PARAMS" },
+ { 0x7910, 0x
00
ff, 2, 2, "3DSTATE_CLEAR_PARAMS" },
{ 0x7912, 0x00ff, 2, 2, "3DSTATE_PUSH_CONSTANT_ALLOC_VS" },
{ 0x7913, 0x00ff, 2, 2, "3DSTATE_PUSH_CONSTANT_ALLOC_HS" },
{ 0x7914, 0x00ff, 2, 2, "3DSTATE_PUSH_CONSTANT_ALLOC_DS" },