v3d: include the revision in the device name

To match what the Vulkan driver does.

Reviewed-by: Alejandro Piñeiro <apinheiro@igalia.com>
Signed-off-by: Juan A. Suarez Romero <jasuarez@igalia.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26520>
This commit is contained in:
Juan A. Suarez Romero 2023-12-05 13:27:10 +01:00 committed by Marge Bot
parent 1f0a9f853c
commit 47b825c6c5

View file

@ -54,9 +54,10 @@ v3d_screen_get_name(struct pipe_screen *pscreen)
if (!screen->name) {
screen->name = ralloc_asprintf(screen,
"V3D %d.%d",
"V3D %d.%d.%d",
screen->devinfo.ver / 10,
screen->devinfo.ver % 10);
screen->devinfo.ver % 10,
screen->devinfo.rev);
}
return screen->name;