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:
committed by
Marge Bot
parent
1f0a9f853c
commit
47b825c6c5
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user