[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH v3] hw/display: Add basic ATI VGA emulation
From: |
Gerd Hoffmann |
Subject: |
Re: [Qemu-devel] [PATCH v3] hw/display: Add basic ATI VGA emulation |
Date: |
Fri, 22 Feb 2019 12:51:46 +0100 |
User-agent: |
NeoMutt/20180716 |
On Thu, Feb 21, 2019 at 03:55:14PM +0100, BALATON Zoltan wrote:
> At least two machines, the PPC mac99 and MIPS fulong2e, have an ATI
> gfx chip by default (Rage 128 Pro and M6/RV100 respectively) and
> guests running on these and the PMON2000 firmware of the fulong2e
> expect this to be available. Fortunately these are very similar chips
> so they can be mostly emulated in the same device model. This patch
> adds basic emulation of these ATI VGA chips.
>
> While this is incomplete and currently only enough to run the MIPS
> firmware and get framebuffer output with Linux, it allows the fulong2e
> board to work more like the real hardware and having it in QEMU in
> this state provides a way to experiment with it and allows others to
> contribute to improve it. It is compiled for all archs but only the
> fulong2e (which currently has no display output at all) is set to use
> it by default (in a patch sent separately).
Attached patch creates two separate devices. It's just some QOM
boilerplate, they still share 95% of the code. With that in place
vgabios works just fine for both devices.
On x86 linux: Fedora live iso happily boots X on both devices, they both
are running with the vesa xorg driver though so that doesn't say much.
With a self-compiled kernel:
aty128fb.ko seems to be able to handle the rage128pro.
Neither radeonfb.ko nor radeon.ko (drm driver) can handle the rv100.
Loading radeonfb results in a kernel panic. radeon.ko prints an
initialization error. Seems at least radeonfb tries to pull some info
out of the bios image ...
cheers,
Gerd
0001-ati-vga-add-per-model-types.patch
Description: Text document