[PATCH 67/67] display/kconfig: make SM501 depend on PIXMAN

marcandre.lureau@redhat.com posted 67 patches 2 years, 5 months ago
Maintainers: Paolo Bonzini <pbonzini@redhat.com>, "Dr. David Alan Gilbert" <dave@treblig.org>, Peter Maydell <peter.maydell@linaro.org>, "Marc-André Lureau" <marcandre.lureau@redhat.com>, Gerd Hoffmann <kraxel@redhat.com>, "Michael S. Tsirkin" <mst@redhat.com>, Yoshinori Sato <ysato@users.sourceforge.jp>, "Daniel P. Berrangé" <berrange@redhat.com>, Thomas Huth <thuth@redhat.com>, "Philippe Mathieu-Daudé" <philmd@linaro.org>, Eric Blake <eblake@redhat.com>, Markus Armbruster <armbru@redhat.com>, Akihiko Odaki <akihiko.odaki@daynix.com>
[PATCH 67/67] display/kconfig: make SM501 depend on PIXMAN
Posted by marcandre.lureau@redhat.com 2 years, 5 months ago
From: Marc-André Lureau <marcandre.lureau@redhat.com>

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
---
 hw/display/Kconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/hw/display/Kconfig b/hw/display/Kconfig
index 4d8b0cec40..e8077c16d8 100644
--- a/hw/display/Kconfig
+++ b/hw/display/Kconfig
@@ -74,6 +74,7 @@ config FRAMEBUFFER
 
 config SM501
     bool
+    depends on PIXMAN
     select I2C
     select DDC
     select SERIAL
-- 
2.41.0


Re: [PATCH 67/67] display/kconfig: make SM501 depend on PIXMAN
Posted by Philippe Mathieu-Daudé 2 years, 5 months ago
On 30/8/23 11:38, marcandre.lureau@redhat.com wrote:
> From: Marc-André Lureau <marcandre.lureau@redhat.com>
> 
> Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
> ---
>   hw/display/Kconfig | 1 +
>   1 file changed, 1 insertion(+)
> 
> diff --git a/hw/display/Kconfig b/hw/display/Kconfig
> index 4d8b0cec40..e8077c16d8 100644
> --- a/hw/display/Kconfig
> +++ b/hw/display/Kconfig
> @@ -74,6 +74,7 @@ config FRAMEBUFFER
>   
>   config SM501
>       bool
> +    depends on PIXMAN
>       select I2C
>       select DDC
>       select SERIAL

SM501 optionally use pixman, so by adding some CONFIG_PIXMAN
#ifdefry in hw/display/sm501.c we can compile it without pixman.