From: Thomas Zimmermann <tzimmermann@suse.de>
To: Gerd Hoffmann <kraxel@redhat.com>, dri-devel@lists.freedesktop.org
Cc: Hans de Goede <hdegoede@redhat.com>,
Maxime Ripard <maxime.ripard@bootlin.com>,
Chen Feng <puck.chen@hisilicon.com>,
open list <linux-kernel@vger.kernel.org>,
"open list:DRM DRIVER FOR BOCHS VIRTUAL GPU"
<virtualization@lists.linux-foundation.org>,
Xinliang Liu <z.liuxinliang@hisilicon.com>,
David Airlie <airlied@linux.ie>,
Xinwei Kong <kong.kongxinwei@hisilicon.com>,
Rongrong Zou <zourongrong@gmail.com>,
Dave Airlie <airlied@redhat.com>, Sean Paul <sean@poorly.run>
Subject: Re: [PATCH v3 7/7] drm/vram: fix Kconfig
Date: Mon, 9 Sep 2019 14:47:59 +0200 [thread overview]
Message-ID: <bf878fb7-416a-ba41-c1a4-d1c95bd3a4ee@suse.de> (raw)
In-Reply-To: <20190904054740.20817-8-kraxel@redhat.com>
[-- Attachment #1.1: Type: text/plain, Size: 3864 bytes --]
Am 04.09.19 um 07:47 schrieb Gerd Hoffmann:
> select isn't recursive, so we can't turn on DRM_TTM + DRM_TTM_HELPER
> in config DRM_VRAM_HELPER, we have to select them on the vram users
> instead.
>
> Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
> ---
> drivers/gpu/drm/Kconfig | 2 --
> drivers/gpu/drm/ast/Kconfig | 2 ++
> drivers/gpu/drm/bochs/Kconfig | 2 ++
> drivers/gpu/drm/hisilicon/hibmc/Kconfig | 3 ++-
> drivers/gpu/drm/mgag200/Kconfig | 2 ++
> drivers/gpu/drm/vboxvideo/Kconfig | 2 ++
> 6 files changed, 10 insertions(+), 3 deletions(-)
>
> diff --git a/drivers/gpu/drm/Kconfig b/drivers/gpu/drm/Kconfig
> index 1be8ad30d8fe..cd11a3bde19c 100644
> --- a/drivers/gpu/drm/Kconfig
> +++ b/drivers/gpu/drm/Kconfig
> @@ -168,8 +168,6 @@ config DRM_TTM
> config DRM_VRAM_HELPER
> tristate
> depends on DRM
> - select DRM_TTM
> - select DRM_TTM_HELPER
> help
> Helpers for VRAM memory management
>
> diff --git a/drivers/gpu/drm/ast/Kconfig b/drivers/gpu/drm/ast/Kconfig
> index 829620d5326c..fbcf2f45cef5 100644
> --- a/drivers/gpu/drm/ast/Kconfig
> +++ b/drivers/gpu/drm/ast/Kconfig
> @@ -4,6 +4,8 @@ config DRM_AST
> depends on DRM && PCI && MMU
> select DRM_KMS_HELPER
> select DRM_VRAM_HELPER
> + select DRM_TTM
> + select DRM_TTM_HELPER
> help
> Say yes for experimental AST GPU driver. Do not enable
> this driver without having a working -modesetting,
> diff --git a/drivers/gpu/drm/bochs/Kconfig b/drivers/gpu/drm/bochs/Kconfig
> index 32b043abb668..7bcdf294fed8 100644
> --- a/drivers/gpu/drm/bochs/Kconfig
> +++ b/drivers/gpu/drm/bochs/Kconfig
> @@ -4,6 +4,8 @@ config DRM_BOCHS
> depends on DRM && PCI && MMU
> select DRM_KMS_HELPER
> select DRM_VRAM_HELPER
> + select DRM_TTM
> + select DRM_TTM_HELPER
> help
> Choose this option for qemu.
> If M is selected the module will be called bochs-drm.
> diff --git a/drivers/gpu/drm/hisilicon/hibmc/Kconfig b/drivers/gpu/drm/hisilicon/hibmc/Kconfig
> index f20eedf0073a..8ad9a5b12e40 100644
> --- a/drivers/gpu/drm/hisilicon/hibmc/Kconfig
> +++ b/drivers/gpu/drm/hisilicon/hibmc/Kconfig
> @@ -4,7 +4,8 @@ config DRM_HISI_HIBMC
> depends on DRM && PCI && MMU
> select DRM_KMS_HELPER
> select DRM_VRAM_HELPER
> -
> + select DRM_TTM
> + select DRM_TTM_HELPER
> help
> Choose this option if you have a Hisilicon Hibmc soc chipset.
> If M is selected the module will be called hibmc-drm.
> diff --git a/drivers/gpu/drm/mgag200/Kconfig b/drivers/gpu/drm/mgag200/Kconfig
> index 76fee0fbdcae..aed11f4f4c55 100644
> --- a/drivers/gpu/drm/mgag200/Kconfig
> +++ b/drivers/gpu/drm/mgag200/Kconfig
> @@ -4,6 +4,8 @@ config DRM_MGAG200
> depends on DRM && PCI && MMU
> select DRM_KMS_HELPER
> select DRM_VRAM_HELPER
> + select DRM_TTM
> + select DRM_TTM_HELPER
> help
> This is a KMS driver for the MGA G200 server chips, it
> does not support the original MGA G200 or any of the desktop
> diff --git a/drivers/gpu/drm/vboxvideo/Kconfig b/drivers/gpu/drm/vboxvideo/Kconfig
> index 56ba510f21a2..45fe135d6e43 100644
> --- a/drivers/gpu/drm/vboxvideo/Kconfig
> +++ b/drivers/gpu/drm/vboxvideo/Kconfig
> @@ -4,6 +4,8 @@ config DRM_VBOXVIDEO
> depends on DRM && X86 && PCI
> select DRM_KMS_HELPER
> select DRM_VRAM_HELPER
> + select DRM_TTM
> + select DRM_TTM_HELPER
> select GENERIC_ALLOCATOR
> help
> This is a KMS driver for the virtual Graphics Card used in
>
Thanks for fixing the Kconfigs for VRAM helpers.
Acked-by: Thomas Zimmermann <tzimmermann@suse.de>
--
Thomas Zimmermann
Graphics Driver Developer
SUSE Linux GmbH, Maxfeldstrasse 5, 90409 Nuernberg, Germany
GF: Felix Imendörffer, Mary Higgins, Sri Rasiah
HRB 21284 (AG Nürnberg)
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]
prev parent reply other threads:[~2019-09-09 12:48 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20190904054740.20817-1-kraxel@redhat.com>
2019-09-04 5:47 ` [PATCH v3 1/7] drm: add drm_print_bits Gerd Hoffmann
2019-09-09 12:46 ` Thomas Zimmermann
2019-09-17 12:33 ` Daniel Vetter
2019-09-18 12:24 ` Jani Nikula
2019-09-04 5:47 ` [PATCH v3 2/7] drm/ttm: add drm gem ttm helpers, starting with drm_gem_ttm_print_info() Gerd Hoffmann
2019-09-04 5:47 ` [PATCH v3 3/7] drm/vram: use drm_gem_ttm_print_info Gerd Hoffmann
2019-09-04 5:47 ` [PATCH v3 4/7] drm/vram: add vram-mm debugfs file Gerd Hoffmann
2019-09-04 5:47 ` [PATCH v3 5/7] drm/qxl: use drm_gem_object_funcs callbacks Gerd Hoffmann
2019-09-04 5:47 ` [PATCH v3 6/7] drm/qxl: use drm_gem_ttm_print_info Gerd Hoffmann
2019-09-04 5:47 ` [PATCH v3 7/7] drm/vram: fix Kconfig Gerd Hoffmann
2019-09-09 12:47 ` Thomas Zimmermann [this message]
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=bf878fb7-416a-ba41-c1a4-d1c95bd3a4ee@suse.de \
--to=tzimmermann@suse.de \
--cc=airlied@linux.ie \
--cc=airlied@redhat.com \
--cc=dri-devel@lists.freedesktop.org \
--cc=hdegoede@redhat.com \
--cc=kong.kongxinwei@hisilicon.com \
--cc=kraxel@redhat.com \
--cc=linux-kernel@vger.kernel.org \
--cc=maxime.ripard@bootlin.com \
--cc=puck.chen@hisilicon.com \
--cc=sean@poorly.run \
--cc=virtualization@lists.linux-foundation.org \
--cc=z.liuxinliang@hisilicon.com \
--cc=zourongrong@gmail.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
all inboxes | Powered by JetHome®