summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorLiviu Dudau <liviu.dudau@arm.com>2024-11-19 16:41:38 +0000
committerLiviu Dudau <liviu.dudau@arm.com>2024-11-20 11:47:25 +0000
commitc2adb84d012ca4707ae508f763c998aeaf6245b6 (patch)
tree4f9a1771e10e8084d9070902e475310a946c0ed2 /drivers
parent498893bd596e6aedd9796a10e2828311f8135a02 (diff)
drm/panthor: Fix compilation failure on panthor_fw.c
Commit 498893bd596e ("drm/panthor: Simplify FW fast reset path") forgot to copy the definition of glb_iface when it move one line of code. Fixes: 498893bd596e ("drm/panthor: Simplify FW fast reset path") Link: https://lore.kernel.org/dri-devel/20241119164455.572771-1-liviu.dudau@arm.com/ Signed-off-by: Liviu Dudau <liviu.dudau@arm.com> Reviewed-by: Karunika Choo <karunika.choo@arm.com> Boris Brezillon <boris.brezillon@collabora.com> Signed-off-by: Liviu Dudau <liviu.dudau@arm.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/gpu/drm/panthor/panthor_fw.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/panthor/panthor_fw.c b/drivers/gpu/drm/panthor/panthor_fw.c
index 4bc52b1b1a28..c807b6ce71bd 100644
--- a/drivers/gpu/drm/panthor/panthor_fw.c
+++ b/drivers/gpu/drm/panthor/panthor_fw.c
@@ -1133,6 +1133,7 @@ int panthor_fw_post_reset(struct panthor_device *ptdev)
* This is not needed on a slow reset because FW sections are
* re-initialized.
*/
+ struct panthor_fw_global_iface *glb_iface = panthor_fw_get_glb_iface(ptdev);
panthor_fw_update_reqs(glb_iface, req, 0, GLB_HALT);
ret = panthor_fw_start(ptdev);