]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
drm/imagination: Improve handling of unknown FWCCB commands
authorMatt Coster <matt.coster@imgtec.com>
Fri, 6 Feb 2026 16:02:12 +0000 (16:02 +0000)
committerMatt Coster <matt.coster@imgtec.com>
Tue, 10 Feb 2026 10:01:10 +0000 (10:01 +0000)
commitc7384288d9266e52cd35aadb1749872caf3c0257
tree39dfa5f5fc0dc90941aeae3610da618551f5aaa9
parent5491f668910ed0b282beb10f3f6b2e4d3988a1a8
drm/imagination: Improve handling of unknown FWCCB commands

A couple small changes:
 - Validate the magic value at the head of FWCCB commands, and
 - Mask off the magic value before logging unknown command types to make
   them easier to interpret on sight.

Reviewed-by: Frank Binns <frank.binns@imgtec.com>
Link: https://patch.msgid.link/20260206-improve-bad-fwccb-cmd-v1-1-831a852ca127@imgtec.com
Signed-off-by: Matt Coster <matt.coster@imgtec.com>
drivers/gpu/drm/imagination/pvr_ccb.c