mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-19 05:51:36 -04:00
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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user