[RFC 4/8] Got GPU init working. Stops at probing display

2019-11-27 Thread aaron . zakhrov
From: Aaron Dominick --- hw/display/ati.c | 9 +- hw/display/r300.c | 571 +- hw/display/r300.h | 77 ++- 3 files changed, 544 insertions(+), 113 deletions(-) diff --git a/hw/display/ati.c b/hw/display/ati.c index db3b254316..1d36233163 100644

[RFC 7/8] R300 fixes

2019-11-27 Thread aaron . zakhrov
From: Aaron Dominick --- hw/display/r300.c | 9 + hw/display/r300.h | 6 ++ 2 files changed, 15 insertions(+) diff --git a/hw/display/r300.c b/hw/display/r300.c index 653474c3aa..074dbf5b2d 100644 --- a/hw/display/r300.c +++ b/hw/display/r300.c @@ -878,6 +878,15 @@ static void r300_

[RFC 6/8] Fix MC STATUS resgister

2019-11-27 Thread aaron . zakhrov
From: Aaron Dominick --- hw/display/r300.c | 15 --- hw/display/r300.h | 1 + 2 files changed, 13 insertions(+), 3 deletions(-) diff --git a/hw/display/r300.c b/hw/display/r300.c index 94e90b7a95..653474c3aa 100644 --- a/hw/display/r300.c +++ b/hw/display/r300.c @@ -278,6 +278,10 @

[RFC 3/8] R300 fixes

2019-11-27 Thread aaron . zakhrov
From: Aaron Dominick --- hw/display/r300.c | 9 + hw/display/r300.h | 6 ++ 2 files changed, 15 insertions(+) diff --git a/hw/display/r300.c b/hw/display/r300.c index 653474c3aa..074dbf5b2d 100644 --- a/hw/display/r300.c +++ b/hw/display/r300.c @@ -878,6 +878,15 @@ static void r300_

[RFC 8/8] Got GPU init working. Stops at probing display

2019-11-27 Thread aaron . zakhrov
From: Aaron Dominick --- hw/display/ati.c | 9 +- hw/display/r300.c | 571 +- hw/display/r300.h | 77 ++- 3 files changed, 544 insertions(+), 113 deletions(-) diff --git a/hw/display/ati.c b/hw/display/ati.c index db3b254316..1d36233163 100644

[RFC 2/8] Fix MC STATUS resgister

2019-11-27 Thread aaron . zakhrov
From: Aaron Dominick --- hw/display/r300.c | 15 --- hw/display/r300.h | 1 + 2 files changed, 13 insertions(+), 3 deletions(-) diff --git a/hw/display/r300.c b/hw/display/r300.c index 94e90b7a95..653474c3aa 100644 --- a/hw/display/r300.c +++ b/hw/display/r300.c @@ -278,6 +278,10 @

Re: [RFC 00/10] R300 QEMU device V2

2019-11-27 Thread Aaron Zakhrov
I tested my code with the vgabios-ati.bin rom file and it seems to get passed the earlier issue I had. I have cleaned up my code and have sent a new patch series. The new one is pretty big but it contains only the necessary header files and it should be a little easier to review On Wed, Nov 27, 20

[RFC 0/1] ATI R300 emulated grpahics card V2

2019-11-27 Thread aaron . zakhrov
From: Aaron Dominick This is the cleaned up patchset to my previous RFC patch set. I could not reliably clean up my previous commits so I deleted my fork and started from scratch. The patch looks like a lot of changes but most of it is just register definitions copied from the kernel radeon DRM

[RFC 07/10] R300 fixes

2019-11-26 Thread aaron . zakhrov
From: Aaron Dominick --- hw/display/r300.c | 9 + hw/display/r300.h | 6 ++ 2 files changed, 15 insertions(+) diff --git a/hw/display/r300.c b/hw/display/r300.c index 653474c3aa..074dbf5b2d 100644 --- a/hw/display/r300.c +++ b/hw/display/r300.c @@ -878,6 +878,15 @@ static void r300_

[RFC 08/10] Got GPU init working. Stops at probing display

2019-11-26 Thread aaron . zakhrov
From: Aaron Dominick --- hw/display/ati.c | 9 +- hw/display/r300.c | 571 +- hw/display/r300.h | 77 ++- 3 files changed, 544 insertions(+), 113 deletions(-) diff --git a/hw/display/ati.c b/hw/display/ati.c index db3b254316..1d36233163 100644

[RFC 06/10] Fix MC STATUS resgister

2019-11-26 Thread aaron . zakhrov
From: Aaron Dominick --- hw/display/r300.c | 15 --- hw/display/r300.h | 1 + 2 files changed, 13 insertions(+), 3 deletions(-) diff --git a/hw/display/r300.c b/hw/display/r300.c index 94e90b7a95..653474c3aa 100644 --- a/hw/display/r300.c +++ b/hw/display/r300.c @@ -278,6 +278,10 @

[RFC 00/10] R300 QEMU device V2

2019-11-26 Thread aaron . zakhrov
From: Aaron Dominick I have removed the botched patches and have got the code working upto the GART initialization. I am not sure how to implement the GART. I am guessing it should be an IOMMU device but I think that is a bit much for an emulated card. The earlier problem of display probing se

Re: [RFC 0/8] ATI R300 emulated graphics card

2019-11-26 Thread Aaron Zakhrov
Yeah sorry about the double patches. That was because of a botched rebase. It applied my commits twice. I am working on cleaning up the header files and other fixes. > Are you aware of my project page for ATI VGA emulation here: Yes I am. Your code got me through the initial setup. On Tue, Nov

[RFC 8/8] Got GPU init working. Stops at probing display

2019-11-25 Thread aaron . zakhrov
From: Aaron Dominick --- hw/display/ati.c | 9 +- hw/display/r300.c | 571 +- hw/display/r300.h | 77 ++- 3 files changed, 544 insertions(+), 113 deletions(-) diff --git a/hw/display/ati.c b/hw/display/ati.c index db3b254316..1d36233163 100644

[RFC 6/8] Fix MC STATUS resgister

2019-11-25 Thread aaron . zakhrov
From: Aaron Dominick --- hw/display/r300.c | 15 --- hw/display/r300.h | 1 + 2 files changed, 13 insertions(+), 3 deletions(-) diff --git a/hw/display/r300.c b/hw/display/r300.c index 94e90b7a95..653474c3aa 100644 --- a/hw/display/r300.c +++ b/hw/display/r300.c @@ -278,6 +278,10 @

[RFC 0/8] ATI R300 emulated graphics card

2019-11-25 Thread aaron . zakhrov
From: Aaron Dominick Hello, I thought of working on an emulated R300 GPU for QEMU video acceleration on vintage operating systems (Windows 9x-XP) The following patch series contains the initial QEMU device and some register read/write operations. Testing it on an OpenSUSE Linux guest and the ke

[RFC 2/8] Fix MC STATUS resgister

2019-11-25 Thread aaron . zakhrov
From: Aaron Dominick --- hw/display/r300.c | 15 --- hw/display/r300.h | 1 + 2 files changed, 13 insertions(+), 3 deletions(-) diff --git a/hw/display/r300.c b/hw/display/r300.c index 94e90b7a95..653474c3aa 100644 --- a/hw/display/r300.c +++ b/hw/display/r300.c @@ -278,6 +278,10 @

[RFC 4/8] Got GPU init working. Stops at probing display

2019-11-25 Thread aaron . zakhrov
From: Aaron Dominick --- hw/display/ati.c | 9 +- hw/display/r300.c | 571 +- hw/display/r300.h | 77 ++- 3 files changed, 544 insertions(+), 113 deletions(-) diff --git a/hw/display/ati.c b/hw/display/ati.c index db3b254316..1d36233163 100644

[RFC 3/8] R300 fixes

2019-11-25 Thread aaron . zakhrov
From: Aaron Dominick --- hw/display/r300.c | 9 + hw/display/r300.h | 6 ++ 2 files changed, 15 insertions(+) diff --git a/hw/display/r300.c b/hw/display/r300.c index 653474c3aa..074dbf5b2d 100644 --- a/hw/display/r300.c +++ b/hw/display/r300.c @@ -878,6 +878,15 @@ static void r300_

[RFC 7/8] R300 fixes

2019-11-25 Thread aaron . zakhrov
From: Aaron Dominick --- hw/display/r300.c | 9 + hw/display/r300.h | 6 ++ 2 files changed, 15 insertions(+) diff --git a/hw/display/r300.c b/hw/display/r300.c index 653474c3aa..074dbf5b2d 100644 --- a/hw/display/r300.c +++ b/hw/display/r300.c @@ -878,6 +878,15 @@ static void r300_