summaryrefslogtreecommitdiff
path: root/src/broadcom/vulkan/v3dv_device.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/broadcom/vulkan/v3dv_device.c')
-rw-r--r--src/broadcom/vulkan/v3dv_device.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/broadcom/vulkan/v3dv_device.c b/src/broadcom/vulkan/v3dv_device.c
index 14a06479be7..617bf116ccb 100644
--- a/src/broadcom/vulkan/v3dv_device.c
+++ b/src/broadcom/vulkan/v3dv_device.c
@@ -503,7 +503,8 @@ enumerate_devices(struct v3dv_instance *instance)
} else if (devices[i]->available_nodes & 1 << DRM_NODE_PRIMARY) {
char **compat = devices[i]->deviceinfo.platform->compatible;
while (*compat) {
- if (strncmp(*compat, "brcm,bcm2835-vc4", 16) == 0) {
+ if (strncmp(*compat, "brcm,bcm2711-vc5", 16) == 0 ||
+ strncmp(*compat, "brcm,bcm2835-vc4", 16) == 0 ) {
vc4_idx = i;
break;
}