History

drm/connector: Add pixel clock to cmdline mode

We'll need to get the pixel clock to generate proper display modes for all the current named modes. Let's add it to struct drm_cmdline_mode and fill it when parsing the named mode.

Maxime Ripard committed 4 years ago

Commit 0e308ef1 parent 00dcc4a2 files · +13 −3Browse files

Showing the changes to include/drm (1 of 2 files). Show all

Unified · Split

include/drm/drm_connector.h+7−0
@@ -1212,6 +1212,13 @@ struct drm_cmdline_mode { · 1211 unmodified lines
12121212 */
12131213 bool bpp_specified;
12141214
1215+ /**
1216+ * @pixel_clock:
1217+ *
1218+ * Pixel Clock in kHz. Optional.
1219+ */
1220+ unsigned int pixel_clock;
1221+
12151222 /**
12161223 * @xres:
12171224 *