]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
drm/imagination: Switch reset_reason fields from enum to u32
authorAlexandru Dadu <alexandru.dadu@imgtec.com>
Mon, 23 Mar 2026 18:31:29 +0000 (20:31 +0200)
committerMatt Coster <matt.coster@imgtec.com>
Tue, 24 Mar 2026 08:19:59 +0000 (08:19 +0000)
commitd2f83a6cd598bf413f1acf34153bd1d71023fbab
tree9329d3bd12218e7ccc84a151e1e1258d775a06f4
parentda173557a2b090d7d8c155283ba489a287983ced
drm/imagination: Switch reset_reason fields from enum to u32

Update the reset_reason fwif structure fields from enum to u32 to remove
any ambiguity from the interface (enum is not a fixed size thus is unfit
for the purpose of the data type).

Fixes: a26f067feac1f ("drm/imagination: Add FWIF headers")
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-2-1a66049a9a65@imgtec.com
Signed-off-by: Matt Coster <matt.coster@imgtec.com>
drivers/gpu/drm/imagination/pvr_rogue_fwif.h
drivers/gpu/drm/imagination/pvr_rogue_fwif_shared.h