[PATCH v3 30/32] drm/via: Add Kconfig

Thomas Zimmermann tzimmermann at suse.de
Tue Jul 26 07:28:39 UTC 2022


Hi

Am 26.07.22 um 01:53 schrieb Kevin Brace:
> From: Kevin Brace <kevinbrace at bracecomputerlab.com>
> 
> Signed-off-by: Kevin Brace <kevinbrace at bracecomputerlab.com>
> ---
>   drivers/gpu/drm/via/Kconfig | 9 +++++++++
>   1 file changed, 9 insertions(+)
>   create mode 100644 drivers/gpu/drm/via/Kconfig
> 
> diff --git a/drivers/gpu/drm/via/Kconfig b/drivers/gpu/drm/via/Kconfig
> new file mode 100644
> index 000000000000..7c4656a1d473
> --- /dev/null
> +++ b/drivers/gpu/drm/via/Kconfig
> @@ -0,0 +1,9 @@
> +config DRM_OPENCHROME

I would keep the driver option named DRM_VIA, as it has been so far. To 
build the existing DRI1 driver, rather introduce a new config symbol 
that enables it. The rule looks something like this:

   config DRM_VIA_DRI1
   boolean "DRI1 support"
     depends on DRM_VIA && DRM_LEGACY
     help
       Build for DRI1-based userspace drivers.

It will show up as an option if the user selects both DRM_VIA and 
DRM_LEGACY.

Best regards
Thomas


> +	tristate "OpenChrome (VIA Technologies Chrome)"
> +	depends on DRM && PCI && X86
> +	select DRM_KMS_HELPER
> +	select DRM_TTM
> +	help
> +	  Choose this option if you have VIA Technologies UniChrome or
> +	  Chrome9 integrated graphics. If M is selected the module will
> +	  be called via.
> --
> 2.35.1
> 

-- 
Thomas Zimmermann
Graphics Driver Developer
SUSE Software Solutions Germany GmbH
Maxfeldstr. 5, 90409 Nürnberg, Germany
(HRB 36809, AG Nürnberg)
Geschäftsführer: Ivo Totev
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature
Type: application/pgp-signature
Size: 840 bytes
Desc: OpenPGP digital signature
URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20220726/e92b7e05/attachment-0001.sig>


More information about the dri-devel mailing list