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

Signed-off-by: Jayesh Choudhary <j-choudhary@ti.com>
arch/arm/mach-k3/j784s4/j784s4_init.c
arch/arm/mach-k3/r5/j784s4/Makefile
arch/arm/mach-k3/r5/j784s4/j784s4_qos.h [new file with mode: 0644]
arch/arm/mach-k3/r5/j784s4/j784s4_qos_uboot.c [new file with mode: 0644]