summaryrefslogtreecommitdiff
path: root/tools/lib/python/kdoc/python_version.py
diff options
context:
space:
mode:
authorDeborah Brouwer <deborah.brouwer@collabora.com>2026-09-10 16:01:36 -0700
committerAlice Ryhl <aliceryhl@google.com>2026-09-23 07:43:26 +0000
commit896ed083362758b33c49a1b5e5a3423c5814d87e (patch)
tree15d7ae9acedc5b2458db1e2f14ea31ae75b96e8c /tools/lib/python/kdoc/python_version.py
parent370153694442fee19ed43726e698acd65df334dc (diff)
drm/tyr: reduce size of doorbell array
Currently the number of doorbells is set to 64 which is an architectural maximum for the Mali GPU major v10 supported by Tyr. Since each doorbell needs a 64 KiB page, the doorbell array alone would need 4 MiB of register memory. Since the doorbell array starts at offset 0x80000, its exclusive end would be 0x480000, but the rk3588 device that Tyr is compatible with only provides a 2 MiB iomem region in total. Reduce the number of doorbells so that they fit into the rk3588 iomem region. This is consistent with Panthor’s doorbell id assignment. Doorbell 0 is the global doorbell. Panthor assigns the remaining doorbells to the active command stream group (CSG) slots. The number of slots is capped at 16 (MAX_CSG_PRIO + 1). Therefore Panthor uses a maximum of 17 doorbells. The 17 doorbell pages span 0x110000 bytes. Since the doorbell array starts at offset 0x80000 its exclusive end is 0x190000 and so fits within the 2 MiB register region. Signed-off-by: Deborah Brouwer <deborah.brouwer@collabora.com> Link: https://patch.msgid.link/20260910-b4-doorbell-v1-1-f3ca2f501600@collabora.com Signed-off-by: Alice Ryhl <aliceryhl@google.com>
Diffstat (limited to 'tools/lib/python/kdoc/python_version.py')
0 files changed, 0 insertions, 0 deletions