diff options
| author | Iker Pedrosa <ikerpedrosam@gmail.com> | 2025-09-20 11:45:43 +0200 |
|---|---|---|
| committer | Javier Martinez Canillas <javierm@redhat.com> | 2025-09-26 15:04:46 +0200 |
| commit | 7556fe21fdde79f5a919917578d04c419447f41e (patch) | |
| tree | e534d7634c9776ae9f5d8f4472377226f5360acf /tools/perf/scripts/python/git@git.tavy.me:linux-stable.git | |
| parent | 683bb2424cd5be17cca02067b038e9da5aa68dc6 (diff) | |
drm/solomon: Simplify mode_valid() using DRM helper
The ssd130x_crtc_mode_valid() function contains a manual implementation
to validate the display mode against the panel's single fixed resolution.
This pattern is common for simple displays, and the DRM core already
provides the drm_crtc_helper_mode_valid_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-3-77721e87ae08@gmail.com
Signed-off-by: Javier Martinez Canillas <javierm@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/git@git.tavy.me:linux-stable.git')
0 files changed, 0 insertions, 0 deletions
