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

Commit b66e4190 authored by qctecmdr's avatar qctecmdr Committed by Gerrit - the friendly Code Review server
Browse files

Merge "msm: cvp: Set correct CVP NoC QoS values"

parents bf2fc7d1 5b0e0f2a
Loading
Loading
Loading
Loading
+14 −0
Original line number Diff line number Diff line
@@ -951,6 +951,20 @@ static void __set_registers(struct iris_hfi_device *device)
					reg_set->reg_tbl[i].reg,
					reg_set->reg_tbl[i].value);
	}

	/* CVP NOC QoS Settings */
	__write_register(device,
			CVP_NOC_QOSGENERATOR_MAINCTL_LOW, 0x48);
	__write_register(device,
			CVP_NOC_DMA_MAIN_PRIORITYLUT_LOW, 0x22222222);
	__write_register(device,
			CVP_NOC_DMA_MAIN_PRIORITYLUT_HIGH, 0x33332222);
	__write_register(device,
			CVP_NOC_DMA_MAIN_URGENCY_LOW, 0x1022);
	__write_register(device,
			CVP_NOC_DMA_MAIN_DANGERLUT_LOW, 0x5500);
	__write_register(device,
			CVP_NOC_DMA_MAIN_SAFELUT_LOW, 0xffff);
}

/*
+12 −0
Original line number Diff line number Diff line
@@ -181,6 +181,8 @@
#define CVP_NOC_SBM_SENSELN0_LOW	(CVP_NOC_BASE_OFFS + 0x300)

#define CVP_NOC_CORE_BASE_OFFS			0x00010000
#define CVP_NOC_QOSGENERATOR_MAINCTL_LOW \
		(CVP_NOC_CORE_BASE_OFFS + 0x808)
#define CVP_NOC_MAIN_SIDEBANDMANAGER_SENSELN0_LOW \
		(CVP_NOC_CORE_BASE_OFFS + 0x1100)
#define CVP_NOC_MAIN_SIDEBANDMANAGER_SENSELN1_HIGH \
@@ -211,6 +213,16 @@
		(CVP_NOC_CORE_BASE_OFFS + 0x1238)
#define CVP_NOC_CORE_ERR_ERRLOG3_HIGH_OFFS \
		(CVP_NOC_CORE_BASE_OFFS + 0x123C)
#define CVP_NOC_DMA_MAIN_PRIORITYLUT_LOW \
		(CVP_NOC_CORE_BASE_OFFS + 0x3030)
#define CVP_NOC_DMA_MAIN_PRIORITYLUT_HIGH \
		(CVP_NOC_CORE_BASE_OFFS + 0x3034)
#define CVP_NOC_DMA_MAIN_URGENCY_LOW \
		(CVP_NOC_CORE_BASE_OFFS + 0x3038)
#define CVP_NOC_DMA_MAIN_DANGERLUT_LOW \
		(CVP_NOC_CORE_BASE_OFFS + 0x3040)
#define CVP_NOC_DMA_MAIN_SAFELUT_LOW \
		(CVP_NOC_CORE_BASE_OFFS + 0x3048)


#define CVP_AON_WRAPPER_MVP_NOC_LPI_CONTROL	(CVP_AON_BASE_OFFS)