amd/drm-shim: handle AMDGPU_INFO_HW_IP_COUNT

It doesn't actually matter.

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/38546>
This commit is contained in:
Daniel Schürmann
2025-11-20 08:57:54 +01:00
committed by Marge Bot
parent fa15f0c855
commit 80ab1de4be
+3
View File
@@ -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;
}