]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
drm/imagination: Validate fw trace group_mask
authorMatt Coster <matt.coster@imgtec.com>
Tue, 13 Jan 2026 10:16:40 +0000 (10:16 +0000)
committerMatt Coster <matt.coster@imgtec.com>
Mon, 19 Jan 2026 11:20:21 +0000 (11:20 +0000)
commitc6978643ea1c74c913f925c08ef9bafbdc031a04
tree67012908f82c5e6971c3efcae03a255752323b83
parenta331631496a0af9a6f4e7e1860983afd8b1bb013
drm/imagination: Validate fw trace group_mask

This value can come from two places: a module parameter or a debugfs file.
In both cases, validate it early to provide feedback to userspace at the
time the value is set instead of deferring until the value is used.

Reviewed-by: Alessio Belle <alessio.belle@imgtec.com>
Link: https://patch.msgid.link/20260113-device-support-info-v1-2-91e5db7f7294@imgtec.com
Signed-off-by: Matt Coster <matt.coster@imgtec.com>
drivers/gpu/drm/imagination/pvr_fw_trace.c