diff options
author | Eric Anholt <[email protected]> | 2018-01-27 18:12:29 +1100 |
---|---|---|
committer | Eric Anholt <[email protected]> | 2018-01-27 19:39:56 +1100 |
commit | 314e9ee6c4367942cccb9da9b01a67d0f8e29819 (patch) | |
tree | b7b7589ae5abb63bef8de4123a3c2669eda1b09e /src/gallium/drivers | |
parent | 71c7e9bea154b46a4f5613a4f59eea9df11e42fa (diff) |
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.
Diffstat (limited to 'src/gallium/drivers')
-rw-r--r-- | src/gallium/drivers/vc5/vc5_screen.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/gallium/drivers/vc5/vc5_screen.c b/src/gallium/drivers/vc5/vc5_screen.c index 0d54dc1a51d..2bbec37d19f 100644 --- a/src/gallium/drivers/vc5/vc5_screen.c +++ b/src/gallium/drivers/vc5/vc5_screen.c @@ -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, |