On Tue, 16 Dec 2025, Joonas Lahtinen <[email protected]> wrote:
> Building the driver without CONFIG_X86_PAT would yield in reduced
> platform/uAPI support and is not currently planned to be supported.
>
> Add a dependency in Kconfig to avoid issues with such build until
> somebody steps up to fix and validate such builds.
>
> Closes: https://gitlab.freedesktop.org/drm/i915/kernel/-/issues/15410
> Signed-off-by: Joonas Lahtinen <[email protected]>
> Reported-by: Norbert Lange <[email protected]>
> Cc: Jani Nikula <[email protected]>
> Cc: Tvrtko Ursulin <[email protected]>
> Cc: Rodrigo Vivi <[email protected]>

Acked-by: Jani Nikula <[email protected]>

> ---
>  drivers/gpu/drm/i915/Kconfig | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/gpu/drm/i915/Kconfig b/drivers/gpu/drm/i915/Kconfig
> index 5e939004b6463..a19a233239056 100644
> --- a/drivers/gpu/drm/i915/Kconfig
> +++ b/drivers/gpu/drm/i915/Kconfig
> @@ -2,7 +2,7 @@
>  config DRM_I915
>       tristate "Intel 8xx/9xx/G3x/G4x/HD Graphics"
>       depends on DRM
> -     depends on X86 && PCI
> +     depends on X86 && X86_PAT && PCI
>       depends on !PREEMPT_RT
>       select INTEL_GTT if X86
>       select INTERVAL_TREE

-- 
Jani Nikula, Intel

Reply via email to