[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PULL 03/12] sm501: Add panel hardware cursor registers als
From: |
David Gibson |
Subject: |
[Qemu-devel] [PULL 03/12] sm501: Add panel hardware cursor registers also to read function |
Date: |
Mon, 8 Jan 2018 16:53:39 +1100 |
From: BALATON Zoltan <address@hidden>
These were forgotten when adding panel layer support in ffd39257018
"SM501 emulation for R2D-SH4".
Signed-off-by: BALATON Zoltan <address@hidden>
Reviewed-by: Philippe Mathieu-Daudé <address@hidden>
[dwg: Added reference to earlier commit in message]
Signed-off-by: David Gibson <address@hidden>
---
hw/display/sm501.c | 13 +++++++++++++
1 file changed, 13 insertions(+)
diff --git a/hw/display/sm501.c b/hw/display/sm501.c
index 7f1822421a..b9b611131e 100644
--- a/hw/display/sm501.c
+++ b/hw/display/sm501.c
@@ -956,6 +956,19 @@ static uint64_t sm501_disp_ctrl_read(void *opaque, hwaddr
addr,
ret = s->dc_panel_v_sync;
break;
+ case SM501_DC_PANEL_HWC_ADDR:
+ ret = s->dc_panel_hwc_addr;
+ break;
+ case SM501_DC_PANEL_HWC_LOC:
+ ret = s->dc_panel_hwc_location;
+ break;
+ case SM501_DC_PANEL_HWC_COLOR_1_2:
+ ret = s->dc_panel_hwc_color_1_2;
+ break;
+ case SM501_DC_PANEL_HWC_COLOR_3:
+ ret = s->dc_panel_hwc_color_3;
+ break;
+
case SM501_DC_VIDEO_CONTROL:
ret = s->dc_video_control;
break;
--
2.14.3
- [Qemu-devel] [PULL 00/12] ppc-for-2.12 queue 20180108, David Gibson, 2018/01/08
- [Qemu-devel] [PULL 01/12] target-ppc: optimize cmp translation, David Gibson, 2018/01/08
- [Qemu-devel] [PULL 04/12] sm501: Add some more unimplemented registers, David Gibson, 2018/01/08
- [Qemu-devel] [PULL 03/12] sm501: Add panel hardware cursor registers also to read function,
David Gibson <=
- [Qemu-devel] [PULL 06/12] spapr_pci: use warn_report(), David Gibson, 2018/01/08
- [Qemu-devel] [PULL 09/12] target/ppc: more use of the PPC_*() macros, David Gibson, 2018/01/08
- [Qemu-devel] [PULL 05/12] ppc4xx_i2c: Implement basic I2C functions, David Gibson, 2018/01/08
- [Qemu-devel] [PULL 10/12] Update dtc to fix compilation problem on Mac OS 10.6, David Gibson, 2018/01/08
- [Qemu-devel] [PULL 11/12] hw/ppc: Remove the deprecated spapr-pci-vfio-host-bridge device, David Gibson, 2018/01/08
- [Qemu-devel] [PULL 12/12] spapr: Correct compatibility mode setting for hotplugged CPUs, David Gibson, 2018/01/08
- [Qemu-devel] [PULL 07/12] hw/ide: Emulate SiI3112 SATA controller, David Gibson, 2018/01/08
- [Qemu-devel] [PULL 08/12] ppc/pnv: change powernv_ prefix to pnv_ for overall naming consistency, David Gibson, 2018/01/08
- [Qemu-devel] [PULL 02/12] pseries: Update SLOF firmware image to qemu-slof-20171214, David Gibson, 2018/01/08
- Re: [Qemu-devel] [PULL 00/12] ppc-for-2.12 queue 20180108, Peter Maydell, 2018/01/09