While enumerating devices on a system with multiple implementations, unnecessary ioctls will be issued before a driver checks if it supports a given device. This patch makes the driver fail early based on a intel_device_info.ver check with 2 new parameters added to intel_get_device_info_from_fd. Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/27166>