Intel-XE Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Jani Nikula <jani.nikula@linux.intel.com>
To: Lucas De Marchi <lucas.demarchi@intel.com>,
	Harry Austen <hpausten@protonmail.com>
Cc: intel-xe@lists.freedesktop.org, thomas.hellstrom@linux.intel.com
Subject: Re: [PATCH] drm/xe: Allow building as kernel built-in
Date: Tue, 15 Apr 2025 14:16:32 +0300	[thread overview]
Message-ID: <87cyddr7xr.fsf@intel.com> (raw)
In-Reply-To: <5ztkuw7ip5seoonhtnypq4wkpjnh3okq4fzdnbmmsiadt467fv@ar236dcnik6w>

On Mon, 14 Apr 2025, Lucas De Marchi <lucas.demarchi@intel.com> wrote:
> On Sat, Apr 12, 2025 at 10:07:21PM +0000, Harry Austen wrote:
>>Fix Kconfig symbol dependency on KUNIT, which isn't actually required
>>for XE to be built-in. However, if KUNIT is enabled, it must be built-in
>>too.
>>
>>Fixes: 08987a8b6820 ("drm/xe: Fix build with KUNIT=m")
>>Cc: Lucas De Marchi <lucas.demarchi@intel.com>
>>Cc: Thomas Hellström <thomas.hellstrom@linux.intel.com>
>>Signed-off-by: Harry Austen <hpausten@protonmail.com>
>>---
>> drivers/gpu/drm/xe/Kconfig | 4 ++--
>> 1 file changed, 2 insertions(+), 2 deletions(-)
>>
>>diff --git a/drivers/gpu/drm/xe/Kconfig b/drivers/gpu/drm/xe/Kconfig
>>index 9bce047901b22..b65bd6b9e65d4 100644
>>--- a/drivers/gpu/drm/xe/Kconfig
>>+++ b/drivers/gpu/drm/xe/Kconfig
>>@@ -1,7 +1,7 @@
>> # SPDX-License-Identifier: GPL-2.0-only
>> config DRM_XE
>> 	tristate "Intel Xe Graphics"
>>-	depends on DRM && PCI && MMU && (m || (y && KUNIT=y))
>>+	depends on DRM && PCI && MMU && (m || (y && KUNIT!=m))
>> 	select INTERVAL_TREE
>> 	# we need shmfs for the swappable backing store, and in particular
>> 	# the shmem_readpage() which depends upon tmpfs
>>@@ -51,7 +51,7 @@ config DRM_XE
>>
>> config DRM_XE_DISPLAY
>> 	bool "Enable display support"
>>-	depends on DRM_XE && DRM_XE=m && HAS_IOPORT
>>+	depends on DRM_XE && HAS_IOPORT
>
> this wouldn't work with i915 also built-in. Does it now?

I don't think so.

BR,
Jani.

-- 
Jani Nikula, Intel

  parent reply	other threads:[~2025-04-15 11:16 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-04-12 22:07 [PATCH] drm/xe: Allow building as kernel built-in Harry Austen
2025-04-14 16:00 ` Lucas De Marchi
2025-04-14 18:50   ` Harry Austen
2025-04-15 11:16   ` Jani Nikula [this message]
2025-04-14 17:01 ` ✗ LGCI.VerificationFailed: failure for " Patchwork

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87cyddr7xr.fsf@intel.com \
    --to=jani.nikula@linux.intel.com \
    --cc=hpausten@protonmail.com \
    --cc=intel-xe@lists.freedesktop.org \
    --cc=lucas.demarchi@intel.com \
    --cc=thomas.hellstrom@linux.intel.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox