diff options
author | Maíra Canal <mcanal@igalia.com> | 2025-03-17 22:01:13 -0300 |
---|---|---|
committer | Maíra Canal <mcanal@igalia.com> | 2025-03-23 11:06:15 -0300 |
commit | 1bdf2ccc351ce73ec5fcc0fa82eb6959b30f34c7 (patch) | |
tree | de4e79eddb4ebe665faa4424edcc471a99b39636 /drivers/sbus/char/envctrl.c | |
parent | b1cd1d738e8d98296a01768ba217f2f2ea5dd7b8 (diff) |
drm/v3d: Use V3D_SMS registers for power on/off and reset on V3D 7.xHEADdrm-misc-next
In addition to the standard reset controller, V3D 7.x requires configuring
the V3D_SMS registers for proper power on/off and reset. Add the new
registers to `v3d_regs.h` and ensure they are properly configured during
device probing, removal, and reset.
This change fixes GPU reset issues on the Raspberry Pi 5 (BCM2712).
Without exposing these registers, a GPU reset causes the GPU to hang,
stopping any further job execution and freezing the desktop GUI. The same
issue occurs when unloading and loading the v3d driver.
Link: https://github.com/raspberrypi/linux/issues/6660
Reviewed-by: Iago Toral Quiroga <itoral@igalia.com>
Signed-off-by: Maíra Canal <mcanal@igalia.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20250317-v3d-gpu-reset-fixes-v6-5-f3ee7717ed17@igalia.com
Diffstat (limited to 'drivers/sbus/char/envctrl.c')
0 files changed, 0 insertions, 0 deletions