From 80ab1de4be1730a7001a18fbf9d4ccc85f7f7f03 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Sch=C3=BCrmann?= Date: Thu, 20 Nov 2025 08:57:54 +0100 Subject: [PATCH] amd/drm-shim: handle AMDGPU_INFO_HW_IP_COUNT It doesn't actually matter. Part-of: --- src/amd/drm-shim/amdgpu_noop_drm_shim.c | 3 +++ 1 file changed, 3 insertions(+) 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; }