On Wed, Jul 01, 2026 at 02:03:18PM +0200, Thomas Zimmermann wrote: > Implement drm_of_get_panel_orientation() to retrieve a panel's > rotation property as enum drm_panel_orientation. The code has > been taken from of_drm_get_panel_orientation(), so convert that > helper over. Callers of the old helper can be converted as well. > > Signed-off-by: Thomas Zimmermann <[email protected]> > Reviewed-by: Maxime Ripard <[email protected]> > Reviewed-by: Javier Martinez Canillas <[email protected]> > --- > drivers/gpu/drm/drm_of.c | 44 +++++++++++++++++++++++++++++++++++++ > drivers/gpu/drm/drm_panel.c | 26 ++-------------------- > include/drm/drm_of.h | 11 ++++++++++ > 3 files changed, 57 insertions(+), 24 deletions(-)
Reviewed-by: Thierry Reding <[email protected]>
signature.asc
Description: PGP signature
