v3d/drm-shim: emulate a rpi4 instead of a rpi3

7278 is the chip on the rpi3, while the rpi4 that made it to market has
the 2711 chip.

When this was introduced (82bf1979), the rpi4 was probably still in
flux, which is why the rpi3 chip was put there (and v3d doesn't care
about that, but v3dv does).

cc: mesa-stable

Reviewed-by: Juan A. Suarez <jasuarez@igalia.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/29584>
This commit is contained in:
Eric Engestrom 2024-05-22 00:32:46 +02:00 committed by Marge Bot
parent 2a90e16709
commit 46247b3827

View file

@ -164,7 +164,7 @@ drm_shim_driver_init(void)
drm_shim_override_file("OF_FULLNAME=/rdb/v3d\n"
"OF_COMPATIBLE_N=1\n"
"OF_COMPATIBLE_0=brcm,7278-v3d\n",
"OF_COMPATIBLE_0=brcm,2711-v3d\n",
"/sys/dev/char/%d:%d/device/uevent",
DRM_MAJOR, render_node_minor);
}