mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 05:18:08 +02:00
broadcom/vc5: Enable the driver on V3D 4.2.
The changes in 4.2 haven't impacted any of our CL or state struct entries that I can see, so I haven't enabled custom compile for doing 4.2 instead of 4.1.
This commit is contained in:
parent
71c7e9bea1
commit
314e9ee6c4
1 changed files with 6 additions and 1 deletions
|
|
@ -570,7 +570,12 @@ vc5_get_device_info(struct vc5_screen *screen)
|
|||
uint32_t minor = (ident1.value >> 0) & 0xf;
|
||||
screen->devinfo.ver = major * 10 + minor;
|
||||
|
||||
if (screen->devinfo.ver != 33 && screen->devinfo.ver != 41) {
|
||||
switch (screen->devinfo.ver) {
|
||||
case 33:
|
||||
case 41:
|
||||
case 42:
|
||||
break;
|
||||
default:
|
||||
fprintf(stderr,
|
||||
"V3D %d.%d not supported by this version of Mesa.\n",
|
||||
screen->devinfo.ver / 10,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue