How to create a drm_display_mode for a new display

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

 



Hello,

I am trying to create a new display mode for a new display I have to support.

I have the following information:

Dotclock - frequency period - 1/TCLP - 89.6 MHz
                              TCDP - 11,16 ns

Hsync - Period - TH - 2048 dotclock, 43,75 KHz, 22,86 us
        Pulse Width - THp - 40 dotclock, 0,45 us - active low, sync pulse high, polarity+

Vsync - Period - TV - 729 dotclock, 60 Hz, 16,66 ms
        Pulse Width - TVp - 2 line, 45,72 us - active low, sync pulse high, polarity+

Enable - Pulse Width - THd - 1920 dotclock

V Display - Term - TVd - 720 line
            Start - TFd - 5 line

Phase - Hsync-Enable - THe - 88 dotclock
        Hsync-Vsync - TVh - 0 dotclock

I made the following drm_display_mode out of it:

{ DRM_MODE("1920x720", DRM_MODE_TYPE_DRIVER, 89600, 1920, 1920,
         1960, 2048, 0, 720, 722, 724, 729, 0,
         DRM_MODE_FLAG_NHSYNC | DRM_MODE_FLAG_NVSYNC),
         .vrefresh = 60, .picture_aspect_ratio = HDMI_PICTURE_ASPECT_16_9, },

Am I interpreting the specifications correctly? The display is unable to handle the signal I am currently sending, so something is wrong.

Bas Vermeulen


--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

_______________________________________________
dri-devel mailing list
dri-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/dri-devel




[Index of Archives]     [Linux DRI Users]     [Linux Intel Graphics]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux