diff --git a/src/amd/drm-shim/amdgpu_noop_drm_shim.c b/src/amd/drm-shim/amdgpu_noop_drm_shim.c index 02c1fbed1cc..a8f02cafd05 100644 --- a/src/amd/drm-shim/amdgpu_noop_drm_shim.c +++ b/src/amd/drm-shim/amdgpu_noop_drm_shim.c @@ -174,6 +174,9 @@ amdgpu_ioctl_info(int fd, unsigned long request, void *arg) case AMDGPU_INFO_VIDEO_CAPS: amdgpu_info_video_caps(info->video_cap.type, out.ptr); break; + case AMDGPU_INFO_HW_IP_COUNT: + *out.ui32 = 1; + break; default: return -EINVAL; }