]> Gentwo Git Trees - linux/.git/commit
drm/solomon: Simplify get_modes() using DRM helper
authorIker Pedrosa <ikerpedrosam@gmail.com>
Sat, 20 Sep 2025 09:45:44 +0000 (11:45 +0200)
committerJavier Martinez Canillas <javierm@redhat.com>
Fri, 26 Sep 2025 13:04:46 +0000 (15:04 +0200)
commit90905f371580f8b7c3b2c196c67afb76e8c022ad
treeb3499879ab2fc8283ead790ba59230a138370f48
parent7556fe21fdde79f5a919917578d04c419447f41e
drm/solomon: Simplify get_modes() using DRM helper

The ssd130x_connector_get_modes function contains a manual implementation
to manage modes.

This pattern is common for simple displays, and the DRM core already
provides the drm_connector_helper_get_modes_fixed() helper for this exact
use case.

Reviewed-by: Javier Martinez Canillas <javierm@redhat.com>
Reviewed-by: Thomas Zimmermann <tzimmermann@suse.de>
Signed-off-by: Iker Pedrosa <ikerpedrosam@gmail.com>
Link: https://lore.kernel.org/r/20250920-improve-ssd130x-v2-4-77721e87ae08@gmail.com
Signed-off-by: Javier Martinez Canillas <javierm@redhat.com>
drivers/gpu/drm/solomon/ssd130x.c