drm/panthor: Add 64-bit and poll register accessors
authorKarunika Choo <karunika.choo@arm.com>
Fri, 6 Jun 2025 10:18:34 +0000 (12:18 +0200)
committerBoris Brezillon <boris.brezillon@collabora.com>
Fri, 6 Jun 2025 10:44:41 +0000 (12:44 +0200)
commit4d230aa209edabfbd474259858ad90f33c88a0b8
treeaf89941242d281999f71675d97bc2c7579b57cd3
parent94ac529a9932654c0b8cbff29745c8417978a7d0
drm/panthor: Add 64-bit and poll register accessors

This patch adds 64-bit register accessors to simplify register access in
Panthor. It also adds 32-bit and 64-bit variants for read_poll_timeout.

This patch also updates Panthor to use the new 64-bit accessors and poll
functions.

Reviewed-by: Liviu Dudau <liviu.dudau@arm.com>
Reviewed-by: Steven Price <steven.price@arm.com>
Reviewed-by: Boris Brezillon <boris.brezillon@collabora.com>
Signed-off-by: Karunika Choo <karunika.choo@arm.com>
Link: https://lore.kernel.org/r/20250606101835.41840-2-boris.brezillon@collabora.com
Signed-off-by: Boris Brezillon <boris.brezillon@collabora.com>
drivers/gpu/drm/panthor/panthor_device.h
drivers/gpu/drm/panthor/panthor_drv.c
drivers/gpu/drm/panthor/panthor_fw.c
drivers/gpu/drm/panthor/panthor_gpu.c
drivers/gpu/drm/panthor/panthor_gpu.h
drivers/gpu/drm/panthor/panthor_mmu.c
drivers/gpu/drm/panthor/panthor_regs.h