Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 4b5b5f64 authored by Praneeth Paladugu's avatar Praneeth Paladugu
Browse files

msm: vidc: Add debug info inside queue headers



Add name and device addr in queue headers so that it
would be useful in debugging.

CRs-Fixed: 1086193
Change-Id: Ie9dab1526f8e0f4b66918c0eda792ebf83d6a0b9
Signed-off-by: default avatarPraneeth Paladugu <ppaladug@codeaurora.org>
parent e2787f51
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -1963,6 +1963,8 @@ static int __interface_queues_init(struct venus_hfi_device *dev)
	q_tbl_hdr = (struct hfi_queue_table_header *)
			dev->iface_q_table.align_virtual_addr;
	q_tbl_hdr->qtbl_version = 0;
	q_tbl_hdr->device_addr = (void *)dev;
	strlcpy(q_tbl_hdr->name, "msm_v4l2_vidc", sizeof(q_tbl_hdr->name));
	q_tbl_hdr->qtbl_size = VIDC_IFACEQ_TABLE_SIZE;
	q_tbl_hdr->qtbl_qhdr0_offset = sizeof(struct hfi_queue_table_header);
	q_tbl_hdr->qtbl_qhdr_size = sizeof(struct hfi_queue_header);
+2 −0
Original line number Diff line number Diff line
@@ -55,6 +55,8 @@ struct hfi_queue_table_header {
	u32 qtbl_qhdr_size;
	u32 qtbl_num_q;
	u32 qtbl_num_active_q;
	void *device_addr;
	char name[256];
};

struct hfi_queue_header {