From: aaron.zakhrov@gmail.com
To: qemu-devel@nongnu.org
Cc: kraxel@redhat.com, Aaron Dominick <aaron.zakhrov@gmail.com>
Subject: [RFC 3/8] R300 fixes
Date: Mon, 25 Nov 2019 19:49:08 +0530 [thread overview]
Message-ID: <20191125141908.5441-4-aaron.zakhrov@gmail.com> (raw)
In-Reply-To: <20191125141908.5441-1-aaron.zakhrov@gmail.com>
From: Aaron Dominick <aaron.zakhrov@gmail.com>
---
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_mm_write(void *opaque, hwaddr addr,
case RADEON_DEFAULT_SC_BOTTOM_RIGHT:
s->regs.default_sc_bottom_right = data & 0x3fff3fff;
break;
+ case R300_GB_ENABLE:
+ s->regs.r300_gb_enable = data;
+ break;
+ case R300_GB_TILE_CONFIG:
+ s->regs.r300_gb_tile_config = data;
+ break;
+ case R300_GB_FIFO_SIZE:
+ s->regs.r300_gb_fifo_size = data;
+ break;
default:
break;
}
diff --git a/hw/display/r300.h b/hw/display/r300.h
index a9e1db32be..19e3d97f8a 100644
--- a/hw/display/r300.h
+++ b/hw/display/r300.h
@@ -83,6 +83,12 @@ typedef struct RADVGARegs{
uint32_t default_sc_bottom_right;
uint32_t mc_status;
+ //R300 GB Registers
+ uint32_t r300_gb_enable;
+ uint32_t r300_gb_tile_config;
+ uint32_t r300_gb_fifo_size;
+
+
//Color Buffer RB3D
uint32_t r300_rb3d_aaresolve_ctl;
uint32_t r300_rb3d_aaresolve_offset;
--
2.24.0
next prev parent reply other threads:[~2019-11-28 7:54 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20191125141908.5441-1-aaron.zakhrov@gmail.com>
2019-11-25 14:19 ` [RFC 1/8] Add Radeon kernel headers. Will clean up later aaron.zakhrov
2019-11-25 14:19 ` [RFC 2/8] Fix MC STATUS resgister aaron.zakhrov
2019-11-25 14:19 ` aaron.zakhrov [this message]
2019-11-25 14:19 ` [RFC 4/8] Got GPU init working. Stops at probing display aaron.zakhrov
2019-11-25 14:19 ` [RFC 5/8] Add Radeon kernel headers. Will clean up later aaron.zakhrov
2019-11-25 14:19 ` [RFC 6/8] Fix MC STATUS resgister aaron.zakhrov
2019-11-25 14:19 ` [RFC 7/8] R300 fixes aaron.zakhrov
2019-11-25 14:19 ` [RFC 8/8] Got GPU init working. Stops at probing display aaron.zakhrov
2019-11-26 4:56 [RFC 0/8] ATI R300 emulated graphics card aaron.zakhrov
2019-11-26 4:56 ` [RFC 3/8] R300 fixes aaron.zakhrov
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=20191125141908.5441-4-aaron.zakhrov@gmail.com \
--to=aaron.zakhrov@gmail.com \
--cc=kraxel@redhat.com \
--cc=qemu-devel@nongnu.org \
/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).