summaryrefslogtreecommitdiff
path: root/tools/lib/python
diff options
context:
space:
mode:
authorKarunika Choo <karunika.choo@arm.com>2025-11-25 12:55:41 +0000
committerBoris Brezillon <boris.brezillon@collabora.com>2025-11-26 10:56:18 +0100
commitb1075ae1a3b56fd0b1275caf51bcc633f665bb19 (patch)
treedc3bf741e1be8b536d29e568a422faea3c1cfb2e /tools/lib/python
parentce04ec03a9c2c4f3e60e26f21311b25d5a478208 (diff)
drm/panthor: Add arch-specific panthor_hw binding
This patch adds the framework for binding to a specific panthor_hw structure based on the architecture major value parsed from the GPU_ID register. This is in preparation of enabling architecture-specific behaviours based on GPU_ID. As such, it also splits the GPU_ID register read operation into its own helper function. This framework allows a single panthor_hw structure to be shared across multiple architectures should there be minimal changes between them via the arch_min and arch_max field of the panthor_hw_entry structure, instead of duplicating the structure across multiple architectures. Reviewed-by: Steven Price <steven.price@arm.com> Signed-off-by: Karunika Choo <karunika.choo@arm.com> Link: https://patch.msgid.link/20251125125548.3282320-2-karunika.choo@arm.com Signed-off-by: Boris Brezillon <boris.brezillon@collabora.com>
Diffstat (limited to 'tools/lib/python')
0 files changed, 0 insertions, 0 deletions