diff options
| author | Deborah Brouwer <deborah.brouwer@collabora.com> | 2026-04-09 10:51:26 -0700 |
|---|---|---|
| committer | Alice Ryhl <aliceryhl@google.com> | 2026-04-27 18:43:05 +0000 |
| commit | 566eec206a61604f0b84a858b45265dbef2067e1 (patch) | |
| tree | 2526b4a09af4c9862a7ac8cda97ef253ab00c091 /tools/perf/scripts/python/flamegraph.py | |
| parent | b00d6a73981ee4fb289e89ab649ce61a8df54cd9 (diff) | |
drm/tyr: Use register! macro for JOB_CONTROL
Define the JOB_CONTROL register block with the kernel's register! macro
and replace the existing hand-written JOB IRQ register definitions with
typed register and field accessors.
This adds typed definitions for the raw status, clear, mask, and status
registers, including the per-CSG interrupt bits and the global interface
interrupt bit.
This reduces open-coded bit manipulation, keeps the JOB_CONTROL register
layout in one place, and makes the definitions easier to read and
maintain.
Reviewed-by: Boris Brezillon <boris.brezillon@collabora.com>
Co-developed-by: Daniel Almeida <daniel.almeida@collabora.com>
Signed-off-by: Daniel Almeida <daniel.almeida@collabora.com>
Reviewed-by: Daniel Almeida <daniel.almeida@collabora.com>
Signed-off-by: Deborah Brouwer <deborah.brouwer@collabora.com>
Link: https://patch.msgid.link/20260409-b4-tyr-use-register-macro-v5-v5-3-8abfff8a0204@collabora.com
Signed-off-by: Alice Ryhl <aliceryhl@google.com>
Diffstat (limited to 'tools/perf/scripts/python/flamegraph.py')
0 files changed, 0 insertions, 0 deletions
