videomode: videomode_from_timing work
We currently have videomode_from_timing(), which takes one
display_timing entry from display_timings.
To make it easier to use display_timing without display_timings, this
patch renames videomode_from_timing() to videomode_from_timings(), and
adds a new videomode_from_timing() which just converts a given
display_timing to videomode.
Signed-off-by:
Tomi Valkeinen <tomi.valkeinen@ti.com>
Cc: Steffen Trumtrar <s.trumtrar@pengutronix.de>
Showing
- drivers/gpu/drm/tilcdc/tilcdc_panel.c 1 addition, 1 deletiondrivers/gpu/drm/tilcdc/tilcdc_panel.c
- drivers/video/of_videomode.c 1 addition, 1 deletiondrivers/video/of_videomode.c
- drivers/video/videomode.c 16 additions, 9 deletionsdrivers/video/videomode.c
- include/video/videomode.h 13 additions, 2 deletionsinclude/video/videomode.h
Loading
Please register or sign in to comment