From: Matt Coster Date: Fri, 6 Feb 2026 16:02:13 +0000 (+0000) Subject: drm/imagination: Mark FWCCB_CMD_UPDATE_STATS as known X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=4af267ce3441e10198daa52a8cc4b5cb4575d06f;p=thirdparty%2Fkernel%2Flinux.git drm/imagination: Mark FWCCB_CMD_UPDATE_STATS as known 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 Link: https://patch.msgid.link/20260206-improve-bad-fwccb-cmd-v1-2-831a852ca127@imgtec.com Signed-off-by: Matt Coster --- diff --git a/drivers/gpu/drm/imagination/pvr_ccb.c b/drivers/gpu/drm/imagination/pvr_ccb.c index 2f4356a1e69f9..9d44645831290 100644 --- a/drivers/gpu/drm/imagination/pvr_ccb.c +++ b/drivers/gpu/drm/imagination/pvr_ccb.c @@ -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);