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.
Showing the changes to include/drm (1 of 2 files). Show all
Unified · Split
| @@ -1212,6 +1212,13 @@ struct drm_cmdline_mode { · 1211 unmodified lines | ||
| 1212 | 1212 | */ |
| 1213 | 1213 | bool bpp_specified; |
| 1214 | 1214 | |
| 1215 | + /** | |
| 1216 | + * @pixel_clock: | |
| 1217 | + * | |
| 1218 | + * Pixel Clock in kHz. Optional. | |
| 1219 | + */ | |
| 1220 | + unsigned int pixel_clock; | |
| 1221 | + | |
| 1215 | 1222 | /** |
| 1216 | 1223 | * @xres: |
| 1217 | 1224 | * |