vrend: disable GL_EXT_external_object_fd path on non-Intel boards

When running some traces, we see the following on AMD.

file:dmabuf fault:ttm_bo_vm_fault mmap:dma_buf_mmap_internal readpage:0x0

Disable for now.

Reviewed-By: David Riley <davidriley@chromium.org>
macos/master
Gurchetan Singh 4 years ago
parent fb62616604
commit c8e4e1a919
  1. 6
      src/vrend_renderer.c

@ -10096,8 +10096,10 @@ static void vrend_renderer_fill_caps_v2(int gl_ver, int gles_ver, union virgl_c
}
#ifdef ENABLE_MINIGBM_ALLOCATION
if (has_feature(feat_memory_object) && has_feature(feat_memory_object_fd))
caps->v2.capability_bits |= VIRGL_CAP_ARB_BUFFER_STORAGE;
if (has_feature(feat_memory_object) && has_feature(feat_memory_object_fd)) {
if (!strcmp(gbm_device_get_backend_name(gbm->device), "i915"))
caps->v2.capability_bits |= VIRGL_CAP_ARB_BUFFER_STORAGE;
}
#endif
if (has_feature(feat_blend_equation_advanced))

Loading…
Cancel
Save