[Qemu-devel] [PATCH] ati-vga: Add DDC reg names for debug

BALATON Zoltan posted 1 patch 4 years, 10 months ago
Test s390x passed
Test checkpatch passed
Test asan passed
Test docker-mingw@fedora passed
Test docker-clang@ubuntu passed
Test FreeBSD passed
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20190621181459.2F8207462AA@zero.eik.bme.hu
hw/display/ati_dbg.c | 2 ++
1 file changed, 2 insertions(+)
[Qemu-devel] [PATCH] ati-vga: Add DDC reg names for debug
Posted by BALATON Zoltan 4 years, 10 months ago
Incremental patch to squash into last series

Signed-off-by: BALATON Zoltan <balaton@eik.bme.hu>
---
 hw/display/ati_dbg.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/hw/display/ati_dbg.c b/hw/display/ati_dbg.c
index b045f81d06..88b3a11315 100644
--- a/hw/display/ati_dbg.c
+++ b/hw/display/ati_dbg.c
@@ -19,6 +19,8 @@ static struct ati_regdesc ati_reg_names[] = {
     {"CRTC_GEN_CNTL", 0x0050},
     {"CRTC_EXT_CNTL", 0x0054},
     {"DAC_CNTL", 0x0058},
+    {"GPIO_VGA_DDC", 0x0060},
+    {"GPIO_DVI_DDC", 0x0064},
     {"GPIO_MONID", 0x0068},
     {"I2C_CNTL_1", 0x0094},
     {"PALETTE_INDEX", 0x00b0},
-- 
2.13.7


Re: [Qemu-devel] [PATCH] ati-vga: Add DDC reg names for debug
Posted by Philippe Mathieu-Daudé 4 years, 10 months ago
On 6/21/19 8:12 PM, BALATON Zoltan wrote:
> Incremental patch to squash into last series
> 
> Signed-off-by: BALATON Zoltan <balaton@eik.bme.hu>
> ---
>  hw/display/ati_dbg.c | 2 ++
>  1 file changed, 2 insertions(+)
> 
> diff --git a/hw/display/ati_dbg.c b/hw/display/ati_dbg.c
> index b045f81d06..88b3a11315 100644
> --- a/hw/display/ati_dbg.c
> +++ b/hw/display/ati_dbg.c
> @@ -19,6 +19,8 @@ static struct ati_regdesc ati_reg_names[] = {
>      {"CRTC_GEN_CNTL", 0x0050},
>      {"CRTC_EXT_CNTL", 0x0054},
>      {"DAC_CNTL", 0x0058},
> +    {"GPIO_VGA_DDC", 0x0060},
> +    {"GPIO_DVI_DDC", 0x0064},
>      {"GPIO_MONID", 0x0068},
>      {"I2C_CNTL_1", 0x0094},
>      {"PALETTE_INDEX", 0x00b0},
> 

Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>