Re: [Qemu-devel] [PATCH] ati-vga: i2c fix

2019-03-20 Thread Gerd Hoffmann
On Wed, Mar 20, 2019 at 12:41:30PM +0100, BALATON Zoltan wrote: > On Wed, 20 Mar 2019, Gerd Hoffmann wrote: > > On Wed, Mar 20, 2019 at 12:32:42AM +0100, BALATON Zoltan wrote: > > > On Mon, 18 Mar 2019, Gerd Hoffmann wrote: > > > > > Does it work with the latest patch for you? > > > > > > > > No (

Re: [Qemu-devel] [PATCH] ati-vga: i2c fix

2019-03-20 Thread BALATON Zoltan
On Wed, 20 Mar 2019, Gerd Hoffmann wrote: On Wed, Mar 20, 2019 at 12:32:42AM +0100, BALATON Zoltan wrote: On Mon, 18 Mar 2019, Gerd Hoffmann wrote: Does it work with the latest patch for you? No (testing with radeonfb.ko). I'm confused. You said here that it works with radeonfb with your pa

Re: [Qemu-devel] [PATCH] ati-vga: i2c fix

2019-03-20 Thread Gerd Hoffmann
On Wed, Mar 20, 2019 at 12:32:42AM +0100, BALATON Zoltan wrote: > On Mon, 18 Mar 2019, Gerd Hoffmann wrote: > > > Does it work with the latest patch for you? > > > > No (testing with radeonfb.ko). > > I'm confused. You said here that it works with radeonfb with your patch: > http://lists.nongnu.o

Re: [Qemu-devel] [PATCH] ati-vga: i2c fix

2019-03-19 Thread BALATON Zoltan
On Mon, 18 Mar 2019, Gerd Hoffmann wrote: Does it work with the latest patch for you? No (testing with radeonfb.ko). I'm confused. You said here that it works with radeonfb with your patch: http://lists.nongnu.org/archive/html/qemu-devel/2019-03/msg04745.html and my patch should be the same b

Re: [Qemu-devel] [PATCH] ati-vga: i2c fix

2019-03-18 Thread Gerd Hoffmann
> Does it work with the latest patch for you? I could not make Linux driver > recognise the card yet so if you have some settings that's needed for this > you could share those. It may also need changes to vgabios but I'm not > familiar with that so I hope you can help with that. I've found the r12

Re: [Qemu-devel] [PATCH] ati-vga: i2c fix

2019-03-18 Thread Gerd Hoffmann
Hi, > Does it work with the latest patch for you? No (testing with radeonfb.ko). > you could share those. It may also need changes to vgabios but I'm not > familiar with that so I hope you can help with that. I've found the r128 X > driver needs a VBE BIOS function to access DDC as mentioned i

Re: [Qemu-devel] [PATCH] ati-vga: i2c fix

2019-03-18 Thread BALATON Zoltan
Hello, On Mon, 18 Mar 2019, Gerd Hoffmann wrote: A more correct model would probably be to create two i2c busses for that, then hook up the ddc to one of them (possibly depending on a config option). Isn't it enough to only emulate the DVI port DDC then? Well, strictly speaking the radion ha

Re: [Qemu-devel] [PATCH] ati-vga: i2c fix

2019-03-18 Thread Gerd Hoffmann
Hi, > > A more correct model would probably be to create two i2c busses for > > that, then hook up the ddc to one of them (possibly depending on a > > config option). > > Isn't it enough to only emulate the DVI port DDC then? Well, strictly speaking the radion has 4 i2c busses and the most cor

Re: [Qemu-devel] [PATCH] ati-vga: i2c fix

2019-03-15 Thread BALATON Zoltan
On Fri, 15 Mar 2019, Gerd Hoffmann wrote: On Thu, Mar 14, 2019 at 08:11:21PM +0100, BALATON Zoltan wrote: On Thu, 14 Mar 2019, Gerd Hoffmann wrote: gets radeonfb going for me, on top of your i2c patches. --- @@ -512,15 +531,15 @@ static void ati_mm_write(void *opaque, hwaddr addr, if (s

Re: [Qemu-devel] [PATCH] ati-vga: i2c fix

2019-03-15 Thread Gerd Hoffmann
On Thu, Mar 14, 2019 at 08:11:21PM +0100, BALATON Zoltan wrote: > On Thu, 14 Mar 2019, Gerd Hoffmann wrote: > > gets radeonfb going for me, on top of your i2c patches. > > --- > > hw/display/ati_int.h | 1 + > > hw/display/ati_regs.h | 1 + > > hw/display/ati.c | 35 ++

Re: [Qemu-devel] [PATCH] ati-vga: i2c fix

2019-03-14 Thread BALATON Zoltan
On Thu, 14 Mar 2019, Gerd Hoffmann wrote: gets radeonfb going for me, on top of your i2c patches. --- hw/display/ati_int.h | 1 + hw/display/ati_regs.h | 1 + hw/display/ati.c | 35 +++ 3 files changed, 29 insertions(+), 8 deletions(-) diff --git a/hw/display

[Qemu-devel] [PATCH] ati-vga: i2c fix

2019-03-14 Thread Gerd Hoffmann
gets radeonfb going for me, on top of your i2c patches. --- hw/display/ati_int.h | 1 + hw/display/ati_regs.h | 1 + hw/display/ati.c | 35 +++ 3 files changed, 29 insertions(+), 8 deletions(-) diff --git a/hw/display/ati_int.h b/hw/display/ati_int.h index