Skip to content

drm-shim: intercept access as well

Chia-I Wu requested to merge olv/mesa:drm-shim into main

What does this MR do and why?

drm-shim: intercept access as well

Since libdrm commit 3bc3cca2 ("xf86drm: use drm device name to identify
drm node type"), drmGetMinorType uses access to get the node type and
causes amdgpu_device_initialize to fail with

  DRM_SHIM: unhandled core DRM ioctl 0x5 (0xc0286405)
  _amdgpu_device_initialize: amdgpu_get_auth (1) failed (-22)

Merge request reports