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:
committed by
Marge Bot
parent
fa15f0c855
commit
80ab1de4be
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user