mirror of
https://github.com/revyos-package/mesa.git
synced 2026-04-28 09:13:36 +00:00
intel: Enable Xe KMD support by default
Xe KMD landed on drm-next, uAPI is now stable and we can remove the build time parameter to enable support to it but platforms older than Lunar lake will have experimental support with Xe KMD. Signed-off-by: José Roberto de Souza <jose.souza@intel.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20418> (cherry picked from commit 31920cb60c3cf487bc29ebd1d8ad8b1825e09fab)
This commit is contained in:
committed by
Eric Engestrom
parent
cbbf9d781b
commit
066c61c748
@@ -15094,7 +15094,7 @@
|
||||
"description": "intel: Enable Xe KMD support by default",
|
||||
"nominated": false,
|
||||
"nomination_type": 3,
|
||||
"resolution": 4,
|
||||
"resolution": 1,
|
||||
"main_sha": null,
|
||||
"because_sha": null,
|
||||
"notes": null
|
||||
|
||||
@@ -1523,11 +1523,6 @@ if with_any_intel and ['x86', 'x86_64'].contains(host_machine.cpu_family())
|
||||
pre_args += '-DSUPPORT_INTEL_INTEGRATED_GPUS'
|
||||
endif
|
||||
|
||||
if get_option('intel-xe-kmd').enabled()
|
||||
pre_args += '-DINTEL_XE_KMD_SUPPORTED'
|
||||
endif
|
||||
|
||||
|
||||
if with_gallium_i915 and host_machine.cpu_family().startswith('x86') == false
|
||||
error('Intel "i915" Gallium driver requires x86 or x86_64 CPU family')
|
||||
endif
|
||||
|
||||
@@ -683,10 +683,3 @@ option(
|
||||
'the default driconf file is hardcoded into Mesa. ' +
|
||||
'Requires expat.'
|
||||
)
|
||||
|
||||
option (
|
||||
'intel-xe-kmd',
|
||||
type : 'feature',
|
||||
value : 'disabled',
|
||||
description: 'Enable Intel Xe KMD support.'
|
||||
)
|
||||
|
||||
@@ -1667,6 +1667,8 @@ intel_get_device_info_from_fd(int fd, struct intel_device_info *devinfo)
|
||||
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.");
|
||||
break;
|
||||
default:
|
||||
ret = false;
|
||||
|
||||
@@ -37,10 +37,8 @@ intel_get_kmd_type(int fd)
|
||||
|
||||
if (strcmp(version->name, "i915") == 0)
|
||||
type = INTEL_KMD_TYPE_I915;
|
||||
#ifdef INTEL_XE_KMD_SUPPORTED
|
||||
else if (strcmp(version->name, "xe") == 0)
|
||||
type = INTEL_KMD_TYPE_XE;
|
||||
#endif
|
||||
|
||||
drmFreeVersion(version);
|
||||
return type;
|
||||
|
||||
Reference in New Issue
Block a user