linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Proposal: Make CONFIG_DRM_TTM_HELPER a user-configurable option
@ 2025-08-14 10:54 David C. Manuelda
  2025-08-15  8:13 ` Jani Nikula
  0 siblings, 1 reply; 2+ messages in thread
From: David C. Manuelda @ 2025-08-14 10:54 UTC (permalink / raw)
  To: linux-kernel, dri-devel


[-- Attachment #1.1.1: Type: text/plain, Size: 782 bytes --]

Hi all,

I'm working with external DRM drivers (such as NVIDIA's proprietary 
module), and I've noticed that `CONFIG_DRM_TTM_HELPER` is currently not 
user-selectable—it gets pulled in only when enabling other drivers like 
`nouveau`, `amdgpu`, etc.

This creates a situation where, in order to build support for external 
drivers that depend on `DRM_TTM_HELPER`, one must also enable unrelated 
DRM drivers, which may not be desired in certain setups.

In my humble opinion, it would be beneficial to make `DRM_TTM_HELPER` a 
directly selectable option in `menuconfig`. This would allow users to 
enable it independently, without dragging in other drivers.

Thanks for your attention and for all the work you do on the kernel.

Best regards,
David C. Manuelda

[-- Attachment #1.1.2: OpenPGP public key --]
[-- Type: application/pgp-keys, Size: 3211 bytes --]

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 840 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Proposal: Make CONFIG_DRM_TTM_HELPER a user-configurable option
  2025-08-14 10:54 Proposal: Make CONFIG_DRM_TTM_HELPER a user-configurable option David C. Manuelda
@ 2025-08-15  8:13 ` Jani Nikula
  0 siblings, 0 replies; 2+ messages in thread
From: Jani Nikula @ 2025-08-15  8:13 UTC (permalink / raw)
  To: David C. Manuelda, linux-kernel, dri-devel

On Thu, 14 Aug 2025, "David C. Manuelda" <stormbyte@gmail.com> wrote:
> Hi all,
>
> I'm working with external DRM drivers (such as NVIDIA's proprietary 
> module), and I've noticed that `CONFIG_DRM_TTM_HELPER` is currently not 
> user-selectable—it gets pulled in only when enabling other drivers like 
> `nouveau`, `amdgpu`, etc.
>
> This creates a situation where, in order to build support for external 
> drivers that depend on `DRM_TTM_HELPER`, one must also enable unrelated 
> DRM drivers, which may not be desired in certain setups.
>
> In my humble opinion, it would be beneficial to make `DRM_TTM_HELPER` a 
> directly selectable option in `menuconfig`. This would allow users to 
> enable it independently, without dragging in other drivers.

You can either enable it in your .config directly, or add "select
DRM_TTM_HELPER" in the out-of-tree module.

IMO convenience for out-of-tree modules is not really a consideration,
because adding new user selectable kconfig options is an inconvenience
for in-tree users.

BR,
Jani.

-- 
Jani Nikula, Intel

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2025-08-15  8:13 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-08-14 10:54 Proposal: Make CONFIG_DRM_TTM_HELPER a user-configurable option David C. Manuelda
2025-08-15  8:13 ` Jani Nikula

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).