Some ARM systems have decoupled their display/LCD controllers from their
display transmitters, such as the am335x/beaglebone black whose LCD
controller (on am335x SoC) breaks out to a TDA19988 IC (on PCB). This
sometimes causes sync timing problems in that the timings purported by
the LCD controller do not match the ones coming out of the transmitter,
this hskew int enumerates the value the transmitter must offset its sync
timings by to match what the controller dictates. The extant VID_HSKEW
flag hints at this.

This patch does not break anything, but if devs (understandably) do not
wish to change a MI header to suit a small subset of devices, I can
still fix this issue with the am335x/TDA in a more inelegant way.

Ian


Index: sys/dev/videomode/videomode.h
===================================================================
RCS file: /cvs/src/sys/dev/videomode/videomode.h,v
retrieving revision 1.1
diff -u -p -r1.1 videomode.h
--- sys/dev/videomode/videomode.h       8 Oct 2009 20:35:44 -0000       1.1
+++ sys/dev/videomode/videomode.h       3 Sep 2016 04:26:49 -0000
@@ -42,6 +42,7 @@ struct videomode {
        int vtotal;
        int flags;              /* Video mode flags; see below. */
        const char *name;
+       int hskew;
 };
 
 /*

Reply via email to