]> git.dujemihanovic.xyz Git - u-boot.git/commit
arm: mach-k3: j721s2: Enable QoS for DSS
authorJayesh Choudhary <j-choudhary@ti.com>
Fri, 14 Jun 2024 12:44:38 +0000 (18:14 +0530)
committerTom Rini <trini@konsulko.com>
Mon, 24 Jun 2024 15:51:10 +0000 (09:51 -0600)
commite33ae0a97a3ab5b29a201b23d0f2ecd08396191e
tree52b32be0d8c20fea2e405d5cded96eb2d9daf8d5
parent57673a85a61b0bea28a20d7c90c581edb06ab457
arm: mach-k3: j721s2: 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 9.

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.9.2.10 "Quality of Service" in TRM[0])

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

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

Signed-off-by: Jayesh Choudhary <j-choudhary@ti.com>
arch/arm/mach-k3/j721s2/j721s2_init.c
arch/arm/mach-k3/r5/j721s2/Makefile
arch/arm/mach-k3/r5/j721s2/j721s2_qos.h [new file with mode: 0644]
arch/arm/mach-k3/r5/j721s2/j721s2_qos_uboot.c [new file with mode: 0644]