From: BALATON Zoltan <balaton@eik.bme.hu>
To: "Marc-André Lureau" <marcandre.lureau@gmail.com>
Cc: "Philippe Mathieu-Daudé" <philmd@linaro.org>,
qemu-devel@nongnu.org, stefanha@gmail.com,
"Paolo Bonzini" <pbonzini@redhat.com>,
"Huacai Chen" <chenhuacai@kernel.org>,
"Jiaxun Yang" <jiaxun.yang@flygoat.com>
Subject: Re: [PULL v2 22/24] hw/display: make ATI_VGA depend on PIXMAN
Date: Mon, 6 Nov 2023 12:05:06 +0100 (CET) [thread overview]
Message-ID: <22f2b9d8-8893-0a78-a55c-1ecb482bfad2@eik.bme.hu> (raw)
In-Reply-To: <CAJ+F1C+Z3_iGnnyGNZgqGW511oET=TWb7qZerBWdnkbYxDqjww@mail.gmail.com>
[-- Attachment #1: Type: text/plain, Size: 4578 bytes --]
On Mon, 6 Nov 2023, Marc-André Lureau wrote:
> Hi Zoltan
>
> On Mon, Nov 6, 2023 at 2:53 PM BALATON Zoltan <balaton@eik.bme.hu> wrote:
>>
>> On Mon, 6 Nov 2023, Philippe Mathieu-Daudé wrote:
>>> On 6/11/23 11:11, Marc-André Lureau wrote:
>>>> Hi Philippe
>>>>
>>>> On Mon, Nov 6, 2023 at 2:03 PM Philippe Mathieu-Daudé <philmd@linaro.org>
>>>> wrote:
>>>>>
>>>>> Hi Marc-André,
>>>>>
>>>>> Cc'ing Fuloong maintainers,
>>>>>
>>>>> On 6/11/23 10:55, marcandre.lureau@redhat.com wrote:
>>>>>> From: Marc-André Lureau <marcandre.lureau@redhat.com>
>>>>>>
>>>>>> To avoid a kconfig cycle, change "depends on PCI" to "select PCI".
>>>>>>
>>>>>> Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
>>>>>> Acked-by: BALATON Zoltan <balaton@eik.bme.hu>
>>>>>> ---
>>>>>> configs/devices/mips64el-softmmu/default.mak | 3 +--
>>>>>> hw/display/Kconfig | 3 ++-
>>>>>> hw/display/meson.build | 2 +-
>>>>>> hw/mips/Kconfig | 2 ++
>>>>>> 4 files changed, 6 insertions(+), 4 deletions(-)
>>>>>>
>>>>>> diff --git a/configs/devices/mips64el-softmmu/default.mak
>>>>>> b/configs/devices/mips64el-softmmu/default.mak
>>>>>> index d5188f7ea5..4d80d60511 100644
>>>>>> --- a/configs/devices/mips64el-softmmu/default.mak
>>>>>> +++ b/configs/devices/mips64el-softmmu/default.mak
>>>>>> @@ -1,9 +1,8 @@
>>>>>> # Default configuration for mips64el-softmmu
>>>>>>
>>>>>> include ../mips-softmmu/common.mak
>>>>>> -CONFIG_FULOONG=y
>>>>>> +#CONFIG_FULOONG=y
>>>>>
>>>>> Why is the justification to disable this board? From the
>>>>> bare "avoid a kconfig cycle" commit message, it is not
>>>>> obvious to me.
>>>>
>>>> It's not actually disabled, it's enabled by default in kconfig.
>>>
>>> OK, so let's remove the line entirely, not comment it, please.
>>
>> Well it's disabled without pixman... I have a series adding fallbacks to
>> ati-vga similar to sm501 (which is also needed on aarch64 macOS where
>> pixman does not work) and with that this isn't needed. So I think it's
>> better to rebase this series on mine then some of this becomes
>> unnecessary.
>>
>
>
> It's not ready yet though. We can later revert some of this change
What's not ready about it?
> when your fallback version is applied. In the meantime, this doesn't
> change the behaviour unless PIXMAN has been disabled, so it should be
> acceptable. Agree? thanks
I think it would be better to not commit something that should be reverted
soon. I understand you don't want to rebase yout series but I also don't
want to revert it later so either do the rebase now or hold off with this
series until after mine got in please.
Regards,
BALATON Zoltan
>>> With that,
>>>
>>> Acked-by: Philippe Mathieu-Daudé <philmd@linaro.org>
>>>
>>>>
>>>>>
>>>>>> CONFIG_LOONGSON3V=y
>>>>>> -CONFIG_ATI_VGA=y
>>>>>> CONFIG_RTL8139_PCI=y
>>>>>> CONFIG_JAZZ=y
>>>>>> CONFIG_VT82C686=y
>>>>>> diff --git a/hw/display/Kconfig b/hw/display/Kconfig
>>>>>> index 1aafe1923d..8219225a1c 100644
>>>>>> --- a/hw/display/Kconfig
>>>>>> +++ b/hw/display/Kconfig
>>>>>> @@ -125,7 +125,8 @@ config DPCD
>>>>>> config ATI_VGA
>>>>>> bool
>>>>>> default y if PCI_DEVICES
>>>>>> - depends on PCI
>>>>>> + depends on PIXMAN
>>>>>> + select PCI
>>>>>> select VGA
>>>>>> select BITBANG_I2C
>>>>>> select DDC
>>>>>> diff --git a/hw/display/meson.build b/hw/display/meson.build
>>>>>> index 9c06aaee20..344dfe3d8c 100644
>>>>>> --- a/hw/display/meson.build
>>>>>> +++ b/hw/display/meson.build
>>>>>> @@ -62,7 +62,7 @@ system_ss.add(when: 'CONFIG_XLNX_DISPLAYPORT', if_true:
>>>>>> files('xlnx_dp.c'))
>>>>>>
>>>>>> system_ss.add(when: 'CONFIG_ARTIST', if_true: files('artist.c'))
>>>>>>
>>>>>> -system_ss.add(when: [pixman, 'CONFIG_ATI_VGA'], if_true: files('ati.c',
>>>>>> 'ati_2d.c', 'ati_dbg.c'))
>>>>>> +system_ss.add(when: 'CONFIG_ATI_VGA', if_true: [files('ati.c',
>>>>>> 'ati_2d.c', 'ati_dbg.c'), pixman])
>>>>>>
>>>>>>
>>>>>> if config_all_devices.has_key('CONFIG_VIRTIO_GPU')
>>>>>> diff --git a/hw/mips/Kconfig b/hw/mips/Kconfig
>>>>>> index ac1eb06a51..5d40795c0b 100644
>>>>>> --- a/hw/mips/Kconfig
>>>>>> +++ b/hw/mips/Kconfig
>>>>>> @@ -32,7 +32,9 @@ config JAZZ
>>>>>>
>>>>>> config FULOONG
>>>>>> bool
>>>>>> + default y if MIPS64
>>>>
>>>> It's now enabled here by default for mips64
>>>>
>>>>>> select PCI_BONITO
>>>>>> + depends on ATI_VGA
>>>>>>
>>>>>> config LOONGSON3V
>>>>>> bool
>>>>>
>>>>>
>>>>
>>>>
>>>
>>>
>>>
>
>
>
>
next prev parent reply other threads:[~2023-11-06 11:08 UTC|newest]
Thread overview: 36+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-11-06 9:55 [PULL v2 00/24] Pixman patches marcandre.lureau
2023-11-06 9:55 ` [PULL v2 01/24] build-sys: add a "pixman" feature marcandre.lureau
2023-11-06 9:55 ` [PULL v2 02/24] build-sys: drop needless warning pragmas for old pixman marcandre.lureau
2023-11-06 9:55 ` [PULL v2 03/24] ui: compile out some qemu-pixman functions when !PIXMAN marcandre.lureau
2023-11-06 9:55 ` [PULL v2 04/24] ui: add pixman-minimal.h marcandre.lureau
2023-11-06 9:55 ` [PULL v2 05/24] vl: drop needless -spice checks marcandre.lureau
2023-11-06 9:55 ` [PULL v2 06/24] qemu-options: define -vnc only #ifdef CONFIG_VNC marcandre.lureau
2023-11-06 9:55 ` [PULL v2 07/24] vl: simplify display_remote logic marcandre.lureau
2023-11-06 9:55 ` [PULL v2 08/24] vl: move display early init before default devices marcandre.lureau
2023-11-06 9:55 ` [PULL v2 09/24] ui/console: allow to override the default VC marcandre.lureau
2023-11-06 9:55 ` [PULL v2 10/24] ui/vc: console-vc requires PIXMAN marcandre.lureau
2023-11-06 9:55 ` [PULL v2 11/24] qmp/hmp: disable screendump if PIXMAN is missing marcandre.lureau
2023-11-06 9:55 ` [PULL v2 12/24] virtio-gpu: replace PIXMAN for region/rect test marcandre.lureau
2023-11-06 9:55 ` [PULL v2 13/24] ui/console: when PIXMAN is unavailable, don't draw placeholder msg marcandre.lureau
2023-11-06 9:55 ` [PULL v2 14/24] vhost-user-gpu: skip VHOST_USER_GPU_UPDATE when !PIXMAN marcandre.lureau
2023-11-06 9:55 ` [PULL v2 15/24] ui/gl: opengl doesn't require PIXMAN marcandre.lureau
2023-11-06 9:55 ` [PULL v2 16/24] ui/vnc: VNC requires PIXMAN marcandre.lureau
2023-11-06 9:55 ` [PULL v2 17/24] ui/spice: SPICE/QXL " marcandre.lureau
2023-11-06 9:55 ` [PULL v2 18/24] ui/gtk: -display gtk " marcandre.lureau
2023-11-06 9:55 ` [PULL v2 19/24] ui/dbus: do not require PIXMAN marcandre.lureau
2023-11-06 9:55 ` [PULL v2 20/24] arm/kconfig: XLNX_ZYNQMP_ARM depends on PIXMAN marcandre.lureau
2023-11-06 9:55 ` [PULL v2 21/24] hw/sm501: allow compiling without PIXMAN marcandre.lureau
2023-11-06 9:55 ` [PULL v2 22/24] hw/display: make ATI_VGA depend on PIXMAN marcandre.lureau
2023-11-06 10:02 ` Philippe Mathieu-Daudé
2023-11-06 10:11 ` Marc-André Lureau
2023-11-06 10:47 ` Philippe Mathieu-Daudé
2023-11-06 10:53 ` BALATON Zoltan
2023-11-06 10:57 ` Marc-André Lureau
2023-11-06 11:05 ` BALATON Zoltan [this message]
2023-11-07 0:34 ` Stefan Hajnoczi
2023-11-07 1:10 ` BALATON Zoltan
2023-11-07 1:36 ` Stefan Hajnoczi
2023-11-06 10:46 ` BALATON Zoltan
2023-11-06 9:55 ` [PULL v2 23/24] hw/mips: FULOONG depends on VT82C686 marcandre.lureau
2023-11-06 10:03 ` Philippe Mathieu-Daudé
2023-11-06 9:55 ` [PULL v2 24/24] build-sys: make pixman actually optional marcandre.lureau
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=22f2b9d8-8893-0a78-a55c-1ecb482bfad2@eik.bme.hu \
--to=balaton@eik.bme.hu \
--cc=chenhuacai@kernel.org \
--cc=jiaxun.yang@flygoat.com \
--cc=marcandre.lureau@gmail.com \
--cc=pbonzini@redhat.com \
--cc=philmd@linaro.org \
--cc=qemu-devel@nongnu.org \
--cc=stefanha@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;
as well as URLs for NNTP newsgroup(s).