All of lore.kernel.org
 help / color / mirror / Atom feed
* How to create a drm_display_mode for a new display
@ 2019-11-12 14:18 Bas Vermeulen
  2019-11-12 15:08 ` Ville Syrjälä
  0 siblings, 1 reply; 3+ messages in thread
From: Bas Vermeulen @ 2019-11-12 14:18 UTC (permalink / raw)
  To: dri-devel

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@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2019-11-12 15:52 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-11-12 14:18 How to create a drm_display_mode for a new display Bas Vermeulen
2019-11-12 15:08 ` Ville Syrjälä
2019-11-12 15:52   ` Bas Vermeulen

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.