OSDN Git Service

drm/fb-helper: No need to cache rotation and sw_rotations
authorNoralf Trønnes <noralf@tronnes.org>
Mon, 6 May 2019 18:01:31 +0000 (20:01 +0200)
committerNoralf Trønnes <noralf@tronnes.org>
Tue, 14 May 2019 14:12:21 +0000 (16:12 +0200)
commitbc93475587850c097bfbc08f2ffa81171e0a1602
treee1ded13073ae6791c8868d59fafef883d73a4405
parent03a9606e7feef902979bbc0601d6d93e764f251d
drm/fb-helper: No need to cache rotation and sw_rotations

Getting rotation info is cheap so we can do it on demand.

This is done in preparation for the removal of struct drm_fb_helper_crtc.

Cc: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Noralf Trønnes <noralf@tronnes.org>
Acked-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Reviewed-by: Maxime Ripard <maxime.ripard@bootlin.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20190506180139.6913-4-noralf@tronnes.org
drivers/gpu/drm/drm_fb_helper.c
include/drm/drm_fb_helper.h