Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/arm/ti Comment out mode fixup (not needed it seems)



details:   https://anonhg.NetBSD.org/src/rev/1a65876c0ee0
branches:  trunk
changeset: 460789:1a65876c0ee0
user:      jmcneill <jmcneill%NetBSD.org@localhost>
date:      Sun Nov 03 23:31:49 2019 +0000

description:
Comment out mode fixup (not needed it seems)

diffstat:

 sys/arch/arm/ti/ti_lcdc.c |  7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)

diffs (35 lines):

diff -r 134f932f6c0e -r 1a65876c0ee0 sys/arch/arm/ti/ti_lcdc.c
--- a/sys/arch/arm/ti/ti_lcdc.c Sun Nov 03 23:28:59 2019 +0000
+++ b/sys/arch/arm/ti/ti_lcdc.c Sun Nov 03 23:31:49 2019 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: ti_lcdc.c,v 1.1 2019/11/03 22:59:06 jmcneill Exp $ */
+/* $NetBSD: ti_lcdc.c,v 1.2 2019/11/03 23:31:49 jmcneill Exp $ */
 
 /*-
  * Copyright (c) 2019 Jared D. McNeill <jmcneill%invisible.ca@localhost>
@@ -27,7 +27,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ti_lcdc.c,v 1.1 2019/11/03 22:59:06 jmcneill Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ti_lcdc.c,v 1.2 2019/11/03 23:31:49 jmcneill Exp $");
 
 #include <sys/param.h>
 #include <sys/bus.h>
@@ -138,6 +138,7 @@
 tilcdc_mode_fixup(struct drm_crtc *crtc,
     const struct drm_display_mode *mode, struct drm_display_mode *adjusted_mode)
 {
+#if 0
        adjusted_mode->hskew = mode->hsync_end - mode->hsync_start;
        adjusted_mode->flags |= DRM_MODE_FLAG_HSKEW;
 
@@ -146,7 +147,7 @@
                adjusted_mode->flags |= DRM_MODE_FLAG_PHSYNC;
        else
                adjusted_mode->flags |= DRM_MODE_FLAG_NHSYNC;
-               
+#endif
 
        return true;
 }



Home | Main Index | Thread Index | Old Index