]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
drm/imagination: Mark FWCCB_CMD_UPDATE_STATS as known
authorMatt Coster <matt.coster@imgtec.com>
Fri, 6 Feb 2026 16:02:13 +0000 (16:02 +0000)
committerMatt Coster <matt.coster@imgtec.com>
Tue, 10 Feb 2026 10:01:11 +0000 (10:01 +0000)
Suppress the "unknown type" warning when processing a FWCCB command of
type CMD_UPDATE_STATS which is known but (currently) unused.

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

index 2f4356a1e69f9031bd0de3557a46a7c53d43aa1e..9d4464583129045844951724beb6b2803988fd45 100644 (file)
@@ -158,6 +158,14 @@ process_fwccb_command(struct pvr_device *pvr_dev, struct rogue_fwif_fwccb_cmd *c
                pvr_free_list_process_grow_req(pvr_dev, &cmd->cmd_data.cmd_free_list_gs);
                break;
 
+       case ROGUE_FWIF_FWCCB_CMD_UPDATE_STATS:
+               /*
+                * We currently have no infrastructure for processing these
+                * stats. It may be added in the future, but for now just
+                * suppress the "unknown" warning when receiving this command.
+                */
+               break;
+
        default:
                drm_info(drm_dev, "Received unknown FWCCB command (type=%d)\n",
                         cmd->cmd_type & ~ROGUE_CMD_MAGIC_DWORD_MASK);