[PATCH] intel/decode: VERTEX_ELEMENT_STATE, 1 means valid

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

 



The logic seemed to be inverse to me.

Signed-off-by: Ben Widawsky <ben@xxxxxxxxxxxx>
---
 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 c9bfee4..eac48c3 100644
--- a/intel/intel_decode.c
+++ b/intel/intel_decode.c
@@ -3390,7 +3390,7 @@ decode_3d_965(struct drm_intel_decode *ctx)
 				  "src offset 0x%04x bytes\n",
 				  data[i] >> (IS_GEN6(devid) ? 26 : 27),
 				  data[i] & (1 << (IS_GEN6(devid) ? 25 : 26)) ?
-				  "" : "in", (data[i] >> 16) & 0x1ff,
+				  "in" : "", (data[i] >> 16) & 0x1ff,
 				  data[i] & 0x07ff);
 			i++;
 			instr_out(ctx, i, "(%s, %s, %s, %s), "
-- 
1.7.11

_______________________________________________
dri-devel mailing list
dri-devel@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/dri-devel


[Index of Archives]     [Linux DRI Users]     [Linux Intel Graphics]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux