Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

drm/panthor: Update CS_STATUS_ defines to correct values

Values for SC_STATUS_BLOCKED_REASON_ are documented in the G610 "Odin"
GPU specification (CS_STATUS_BLOCKED_REASON register).

This change updates the defines to the correct values.

Fixes: 2718d91816ee ("drm/panthor: Add the FW logical block")
Signed-off-by: Ashley Smith <ashley.smith@collabora.com>
Reviewed-by: Liviu Dudau <liviu.dudau@arm.com>
Reviewed-by: Adrián Larumbe <adrian.larumbe@collabora.com>
Reviewed-by: Boris Brezillon <boris.brezillon@collabora.com>
Reviewed-by: Steven Price <steven.price@arm.com>
Signed-off-by: Steven Price <steven.price@arm.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20250303180444.3768993-1-ashley.smith@collabora.com

authored by

Ashley Smith and committed by
Steven Price
c82734fb c25b716e

+3 -3
+3 -3
drivers/gpu/drm/panthor/panthor_fw.h
··· 102 102 #define CS_STATUS_BLOCKED_REASON_SB_WAIT 1 103 103 #define CS_STATUS_BLOCKED_REASON_PROGRESS_WAIT 2 104 104 #define CS_STATUS_BLOCKED_REASON_SYNC_WAIT 3 105 - #define CS_STATUS_BLOCKED_REASON_DEFERRED 5 106 - #define CS_STATUS_BLOCKED_REASON_RES 6 107 - #define CS_STATUS_BLOCKED_REASON_FLUSH 7 105 + #define CS_STATUS_BLOCKED_REASON_DEFERRED 4 106 + #define CS_STATUS_BLOCKED_REASON_RESOURCE 5 107 + #define CS_STATUS_BLOCKED_REASON_FLUSH 6 108 108 #define CS_STATUS_BLOCKED_REASON_MASK GENMASK(3, 0) 109 109 u32 status_blocked_reason; 110 110 u32 status_wait_sync_value_hi;