mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/herbert/cryptodev-2.6.git
synced 2026-04-18 19:43:43 -04:00
drm/sysfb: Provide single mode-init helper
Merge the mode-init functions of ofdrm and simpledrm to the new helper drm_sysfb_mode(). Also implement the DPI defaults there. Replace the code in each driver with the shared helper. Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de> Reviewed-by: Javier Martinez Canillas <javierm@redhat.com> Link: https://lore.kernel.org/r/20250401094056.32904-7-tzimmermann@suse.de
This commit is contained in:
@@ -11,6 +11,11 @@
|
||||
|
||||
struct drm_format_info;
|
||||
|
||||
struct drm_display_mode drm_sysfb_mode(unsigned int width,
|
||||
unsigned int height,
|
||||
unsigned int width_mm,
|
||||
unsigned int height_mm);
|
||||
|
||||
/*
|
||||
* Device
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user