Эх сурвалжийг харах

msm: eva: Print more hfi queue info

To help EVA timeout debugging.

Change-Id: I431a4b9b0088c4e1b2a93adacd75457ca7caf6da
Signed-off-by: George Shen <[email protected]>
George Shen 2 жил өмнө
parent
commit
867c0cc2b4

+ 8 - 5
msm/eva/msm_cvp_common.c

@@ -50,15 +50,18 @@ static void dump_hfi_queue(struct iris_hfi_device *device)
 			dprintk(CVP_ERR, "HFI queue not init, fail to dump\n");
 			return;
 		}
-		dprintk(CVP_ERR, "queue details: %d %d\n",
-				queue->qhdr_read_idx, queue->qhdr_write_idx);
+		dprintk(CVP_ERR, "queue details: r:w %d:%d r:t %d %d\n",
+				queue->qhdr_read_idx, queue->qhdr_write_idx,
+				queue->qhdr_rx_req, queue->qhdr_tx_req);
 		if (queue->qhdr_read_idx != queue->qhdr_write_idx) {
 			read_idx = queue->qhdr_read_idx;
 			read_ptr = (u32 *)((qinfo->q_array.align_virtual_addr) +
 				(read_idx << 2));
-			dprintk(CVP_ERR, "queue payload: %x %x %x %x\n",
-				read_ptr[0], read_ptr[1],
-				read_ptr[2], read_ptr[3]);
+			dprintk(CVP_ERR,
+				"queue payload: %x %x %x %x %x %x %x %x\n",
+				read_ptr[0], read_ptr[1], read_ptr[2],
+				read_ptr[3], read_ptr[4], read_ptr[5],
+				read_ptr[6], read_ptr[7]);
 		}
 
 	}