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 <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>
This commit is contained in:
Matt Coster
2026-02-06 16:02:13 +00:00
parent c7384288d9
commit 4af267ce34

View 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);