drm/v3d: Fix support for register debugging on the RPi 4
authorMaíra Canal <mcanal@igalia.com>
Tue, 9 Jan 2024 11:30:40 +0000 (08:30 -0300)
committerMaíra Canal <mcanal@igalia.com>
Tue, 9 Jan 2024 17:21:47 +0000 (14:21 -0300)
commit89fe46019a62bc1d0cb49c9615cb3520096c4bc1
tree248d9c90018832d01fd7dc4bf8d3149252dbb08d
parent196da3f3f76a46905f7daab29c56974f1aba9a7a
drm/v3d: Fix support for register debugging on the RPi 4

RPi 4 uses V3D 4.2, which is currently not supported by the register
definition stated at `v3d_core_reg_defs`. We should be able to support
V3D 4.2, therefore, change the maximum version of the register
definition to 42, not 41.

Fixes: 0ad5bc1ce463 ("drm/v3d: fix up register addresses for V3D 7.x")
Signed-off-by: Maíra Canal <mcanal@igalia.com>
Reviewed-by: Iago Toral Quiroga <itoral@igalia.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20240109113126.929446-1-mcanal@igalia.com
drivers/gpu/drm/v3d/v3d_debugfs.c