]> git.dujemihanovic.xyz Git - u-boot.git/commit
arm: mach-k3: j721e: Enable QoS for DSS
authorJayesh Choudhary <j-choudhary@ti.com>
Fri, 14 Jun 2024 12:44:37 +0000 (18:14 +0530)
committerTom Rini <trini@konsulko.com>
Mon, 24 Jun 2024 15:51:10 +0000 (09:51 -0600)
commit57673a85a61b0bea28a20d7c90c581edb06ab457
tree868699b35e90651e99551361358115c9e0282341
parent6bc9a5c92f65c1f062ee4d3761330f4fc4a0bf00
arm: mach-k3: j721e: Enable QoS for DSS

Enable Quality of Service (QoS) blocks for Display SubSystem (DSS), by
servicing the DSS - DDR traffic from the Real-Time (RT) queue. This is
done by setting the DSS DMA orderID to greater than 7.

Before setting up the QoS, the ORDERID needs to be mapped to VBUSM sources
using setup_navss_nb() function call that sets the threadmap for NBSS
registers. (Section 10.2.10.1.2 "NB Parameters" in TRM[0])

Section 3.3.2 "Quality of Service (QoS)" in the TRM[0] provide more
details.

[0]: https://www.ti.com/lit/zip/spruil1

Signed-off-by: Jayesh Choudhary <j-choudhary@ti.com>
Reviewed-by: Andrew Davis <afd@ti.com>
arch/arm/mach-k3/j721e/j721e_init.c
arch/arm/mach-k3/r5/j721e/Makefile
arch/arm/mach-k3/r5/j721e/j721e_qos.h [new file with mode: 0644]
arch/arm/mach-k3/r5/j721e/j721e_qos_uboot.c [new file with mode: 0644]