[Openchrome-devel] [Bug 94528] HDMI port is not working on current KMS driver with VX900 platform

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Wed Apr 20 03:41:42 UTC 2016


https://bugs.freedesktop.org/show_bug.cgi?id=94528

HuangRan <huangranbj at 126.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #123040|0                           |1
        is obsolete|                            |

--- Comment #25 from HuangRan <huangranbj at 126.com> ---
Comment on attachment 123040
  --> https://bugs.freedesktop.org/attachment.cgi?id=123040
Re-attach the patch per Berno's suggestion

>From e9b4b43fe2ec157f7d402c1efb855679711d47fc Mon Sep 17 00:00:00 2001
>From: HuangRan <huangranbj at 126.com>
>Date: Tue, 19 Apr 2016 09:34:41 +0800
>Subject: [PATCH] Fix VX900 HDMI port no display issue
>
>Remove the write of bit6 for VGA/SVGA CRT Controller Register 0xFD
>(IGA1 Scaling Up and Timing Control). Bit6 of CRTC 0xFD is RO bit
>which can't be written. Verfied on VX900 board for HDMI port.
>
>Signed-off-by: Hu, Yi<huyi at iscas.ac.cn>
>Signed-off-by: Huang, Ran<huangranbj at 126.com>
>---
> drivers/gpu/drm/via/via_crtc.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
>diff --git a/drivers/gpu/drm/via/via_crtc.c b/drivers/gpu/drm/via/via_crtc.c
>index fa29270..a50e654 100644
>--- a/drivers/gpu/drm/via/via_crtc.c
>+++ b/drivers/gpu/drm/via/via_crtc.c
>@@ -468,7 +468,7 @@ void via_load_crtc_pixel_timing(struct drm_crtc *crtc, struct drm_display_mode *
> 		svga_wcrt_mask(VGABASE, 0x32, 0x00, BIT(2));
> 
> 	}
>-	svga_wcrt_mask(VGABASE, 0xFD, BIT(5) | BIT(6), BIT(5) | BIT(6));
>+	svga_wcrt_mask(VGABASE, 0xFD, BIT(5), BIT(5));
> }
> 
> /* Load CRTC timing registers */
>@@ -484,7 +484,7 @@ void via_load_crtc_timing(struct via_crtc *iga, struct drm_display_mode *mode)
> 			svga_wcrt_mask(VGABASE, 0x45, 0x00, BIT(0));
> 
> 			/* Disable IGA1 pixel timing */
>-			svga_wcrt_mask(VGABASE, 0xFD, 0x00, BIT(6) | BIT(5));
>+			svga_wcrt_mask(VGABASE, 0xFD, 0x00, BIT(5));
> 		}
> 
> 		reg_value = IGA1_HOR_TOTAL_FORMULA(mode->crtc_htotal);
>-- 
>1.9.1
>

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/openchrome-devel/attachments/20160420/4f35358e/attachment.html>


More information about the Openchrome-devel mailing list