]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
drm/panthor: Fix GPU_COHERENCY_ACE[_LITE] definitions
authorBoris Brezillon <boris.brezillon@collabora.com>
Fri, 4 Apr 2025 08:09:29 +0000 (10:09 +0200)
committerBoris Brezillon <boris.brezillon@collabora.com>
Thu, 10 Apr 2025 13:00:11 +0000 (15:00 +0200)
GPU_COHERENCY_ACE and GPU_COHERENCY_ACE_LITE definitions have been
swapped.

Changes in v2:
- New patch

Changes in v3:
- Add Steve's R-b

Reported-by: Liviu Dudau <liviu.dudau@arm.com>
Fixes: 546b366600ef ("drm/panthor: Add GPU register definitions")
Reviewed-by: Steven Price <steven.price@arm.com>
Reviewed-by: Liviu Dudau <liviu.dudau@arm.com>
Link: https://lore.kernel.org/r/20250404080933.2912674-2-boris.brezillon@collabora.com
Signed-off-by: Boris Brezillon <boris.brezillon@collabora.com>
drivers/gpu/drm/panthor/panthor_regs.h

index b7b3b3add16627cc9d8d9e3f3a0c90a2bb7e1786..a7a323dc5cf92a06d72655b0599af9d72d2f7637 100644 (file)
 #define GPU_COHERENCY_PROT_BIT(name)                   BIT(GPU_COHERENCY_  ## name)
 
 #define GPU_COHERENCY_PROTOCOL                         0x304
-#define   GPU_COHERENCY_ACE                            0
-#define   GPU_COHERENCY_ACE_LITE                       1
+#define   GPU_COHERENCY_ACE_LITE                       0
+#define   GPU_COHERENCY_ACE                            1
 #define   GPU_COHERENCY_NONE                           31
 
 #define MCU_CONTROL                                    0x700