summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/vc5
diff options
context:
space:
mode:
Diffstat (limited to 'src/gallium/drivers/vc5')
-rw-r--r--src/gallium/drivers/vc5/vc5_screen.c7
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,