mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-08 04:48:08 +02:00
v3dv: expose V3D revision number in device name
Reviewed-by: Alejandro Piñeiro <apinheiro@igalia.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25450>
This commit is contained in:
parent
4606904215
commit
15a0ad216a
1 changed files with 4 additions and 2 deletions
|
|
@ -1127,8 +1127,10 @@ create_physical_device(struct v3dv_instance *instance,
|
|||
device->next_program_id = 0;
|
||||
|
||||
ASSERTED int len =
|
||||
asprintf(&device->name, "V3D %d.%d",
|
||||
device->devinfo.ver / 10, device->devinfo.ver % 10);
|
||||
asprintf(&device->name, "V3D %d.%d.%d",
|
||||
device->devinfo.ver / 10,
|
||||
device->devinfo.ver % 10,
|
||||
device->devinfo.rev);
|
||||
assert(len != -1);
|
||||
|
||||
v3dv_physical_device_init_disk_cache(device);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue