]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
drm/tyr: Print GPU_ID without filtering
authorDeborah Brouwer <deborah.brouwer@collabora.com>
Thu, 9 Apr 2026 17:51:25 +0000 (10:51 -0700)
committerAlice Ryhl <aliceryhl@google.com>
Mon, 27 Apr 2026 18:43:05 +0000 (18:43 +0000)
commitb00d6a73981ee4fb289e89ab649ce61a8df54cd9
treed5965ad08b5ce143ad869ce2cfbd10e79a7a6131
parent7b00648f48f5ac90d66f9eab4dfe121308a1076e
drm/tyr: Print GPU_ID without filtering

Currently, Tyr prints just the upper 16 bits of the GPU_ID in the hex id
field, namely ARCH_MAJOR, ARCH_MINOR, ARCH_REV, and PRODUCT_MAJOR. The
VERSION_* fields are already printed separately as "major", "minor", and
"status".

Print the full 32-bit GPU_ID register instead of shifting it, so the hex
id reflects the complete register contents.

Before this change:
  mali-g610 id 0xa867 major 0x0 minor 0x0 status 0x5

After this change:
  mali-g610 GPU_ID 0xa8670005 major 0x0 minor 0x0 status 0x5

Reviewed-by: Boris Brezillon <boris.brezillon@collabora.com>
Signed-off-by: Deborah Brouwer <deborah.brouwer@collabora.com>
Link: https://patch.msgid.link/20260409-b4-tyr-use-register-macro-v5-v5-2-8abfff8a0204@collabora.com
Signed-off-by: Alice Ryhl <aliceryhl@google.com>
drivers/gpu/drm/tyr/gpu.rs