[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-arm] [PATCH 4/5] hw/sii9022: Add support for Silicon Image SII
From: |
Peter Maydell |
Subject: |
Re: [Qemu-arm] [PATCH 4/5] hw/sii9022: Add support for Silicon Image SII9022 |
Date: |
Tue, 27 Feb 2018 17:19:52 +0000 |
On 27 February 2018 at 10:49, Linus Walleij <address@hidden> wrote:
> This adds support for emulating the Silicon Image SII9022 DVI/HDMI
> bridge. It's not very clever right now, it just acknowledges
> the switch into DDC I2C mode and back. Combining this with the
> existing DDC I2C emulation gives the right behavior on the Versatile
> Express emulation passing through the QEMU EDID to the emulated
> platform.
>
> Cc: Peter Maydell <address@hidden>
> Signed-off-by: Linus Walleij <address@hidden>
> +typedef struct sii9022_state {
> + I2CSlave parent_obj;
> + uint8_t ptr;
> + bool addr_byte;
> + bool ddc_req;
> + bool ddc_skip_finish;
> + bool ddc;
> +} sii9022_state;
> +static void sii9022_reset(DeviceState *dev)
> +{
> + sii9022_state *s = SII9022(dev);
> +
> + s->ptr = 0;
> + s->addr_byte = false;
I asked about reset before -- can we just add
s->ddc_req = false;
s->ddc_skip_finish = false;
s->ddc = false;
?
thanks
-- PMM
- [Qemu-arm] [PATCH 0/5] Versatile Express SiI9022 emulation, Linus Walleij, 2018/02/27
- [Qemu-arm] [PATCH 2/5] i2c: Move the bus class to i2c.h, Linus Walleij, 2018/02/27
- [Qemu-arm] [PATCH 3/5] hw/i2c-ddc: Do not fail writes, Linus Walleij, 2018/02/27
- [Qemu-arm] [PATCH 1/5] i2c: Fix some brace style issues, Linus Walleij, 2018/02/27
- [Qemu-arm] [PATCH 4/5] hw/sii9022: Add support for Silicon Image SII9022, Linus Walleij, 2018/02/27
- Re: [Qemu-arm] [PATCH 4/5] hw/sii9022: Add support for Silicon Image SII9022,
Peter Maydell <=
- [Qemu-arm] [PATCH 5/5] arm/vexpress: Add proper display connector emulation, Linus Walleij, 2018/02/27
- Re: [Qemu-arm] [PATCH 0/5] Versatile Express SiI9022 emulation, Peter Maydell, 2018/02/27