mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-20 17:30:24 +01:00
v3dv: start using Broadcom's device identifiers
Instead of creating our own based on the V3D version. CTS waivers are registered using a combination of VendorID and DeviceID, so if we want to reuse any wavers filed by Broadcom we want to use the same identifiers. We are already using the Broadcom VendorId, so let's start using the same deviceID as well. Reviewed-by: Alejandro Piñeiro <apinheiro@igalia.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/12865>
This commit is contained in:
parent
3a26dfe761
commit
09cb4e3010
1 changed files with 6 additions and 1 deletions
|
|
@ -1239,7 +1239,12 @@ v3dv_physical_device_device_id(struct v3dv_physical_device *dev)
|
|||
|
||||
return devid;
|
||||
#else
|
||||
return dev->devinfo.ver;
|
||||
switch (dev->devinfo.ver) {
|
||||
case 42:
|
||||
return 0xBE485FD3; /* Broadcom deviceID for 2711 */
|
||||
default:
|
||||
unreachable("Unsupported V3D version");
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue