mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-24 08:50:13 +01:00
intel/dev: Provide a toggle to avoid warnings about unsupported devices
Signed-off-by: Valentine Burley <valentine.burley@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/33282>
This commit is contained in:
parent
fcd5d25888
commit
0d1fa0f1a3
1 changed files with 4 additions and 2 deletions
|
|
@ -1923,8 +1923,10 @@ intel_get_device_info_from_fd(int fd, struct intel_device_info *devinfo, int min
|
|||
break;
|
||||
case INTEL_KMD_TYPE_XE:
|
||||
ret = intel_device_info_xe_get_info_from_fd(fd, devinfo);
|
||||
if (devinfo->verx10 < 200)
|
||||
mesa_logw("Support for this platform is experimental with Xe KMD, bug reports may be ignored.");
|
||||
if (devinfo->verx10 < 200) {
|
||||
if (!debug_get_bool_option("INTEL_XE_IGNORE_EXPERIMENTAL_WARNING", false))
|
||||
mesa_logw("Support for this platform is experimental with Xe KMD, bug reports may be ignored.");
|
||||
}
|
||||
break;
|
||||
default:
|
||||
ret = false;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue