]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitfaf60cfc02e7ad63faf8357fb1bd8900f3b166d2
treee1ded13073ae6791c8868d59fafef883d73a4405
parente4d6dbd09d317664e69802bf0b85535a89632f98
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