Files
linux/drivers/gpu/drm/imagination/pvr_dump.h
Alexandru Dadu d994acc526 drm/imagination: Implement handling of context reset notification
The firmware will send the context reset notification message as
part of handling hardware recovery (HWR) events deecoding the message
and printing via drm_info(). This eliminates the "Unknown FWCCB command"
message that was previously printed.

Co-developed-by: Sarah Walker <sarah.walker@imgtec.com>
Signed-off-by: Sarah Walker <sarah.walker@imgtec.com>
Signed-off-by: Alexandru Dadu <alexandru.dadu@imgtec.com>
Reviewed-by: Matt Coster <matt.coster@imgtec.com>
Link: https://patch.msgid.link/20260323-b4-firmware-context-reset-notification-handling-v3-3-1a66049a9a65@imgtec.com
Signed-off-by: Matt Coster <matt.coster@imgtec.com>
2026-03-24 08:22:21 +00:00

18 lines
461 B
C

/* SPDX-License-Identifier: GPL-2.0 OR MIT */
/* Copyright (c) 2026 Imagination Technologies Ltd. */
#ifndef PVR_DUMP_H
#define PVR_DUMP_H
/* Forward declaration from pvr_device.h. */
struct pvr_device;
/* Forward declaration from pvr_rogue_fwif.h. */
struct rogue_fwif_fwccb_cmd_context_reset_data;
void
pvr_dump_context_reset_notification(struct pvr_device *pvr_dev,
struct rogue_fwif_fwccb_cmd_context_reset_data *data);
#endif /* PVR_DUMP_H */