Skip to content

intel: Skip ioctls for querying device info when hardware is unsupported

Tranquil Ity requested to merge tranquillity-codes/mesa:main into main

What does this MR do and why?

While enumerating devices on a system with multiple implementations,
unnecessary ioctls will be issued before a driver checks if 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.
Edited by Tranquil Ity

Merge request reports