linux/drivers/gpu/drm/msm/mdp
Tvrtko Ursulin d136dfeec8 drm: Pass in new and old plane state to prepare_fb and cleanup_fb
Use cases like rotation require these hooks to have some context so they
know how to prepare and cleanup the frame buffer correctly.

For i915 specifically, object backing pages need to be mapped differently
for different rotation modes and the driver needs to know which mapping to
instantiate and which to tear down when transitioning between them.

v2: Made passed in states const. (Daniel Vetter)

[airlied: add mdp5 and atmel fixups]
Signed-off-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Cc: Daniel Vetter <daniel.vetter@ffwll.ch>
Cc: dri-devel@lists.freedesktop.org
Reviewed-by: Rob Clark <robdclark@gmail.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
2015-03-05 09:49:02 +10:00
..
mdp4 drm: Pass in new and old plane state to prepare_fb and cleanup_fb 2015-03-05 09:49:02 +10:00
mdp5 drm: Pass in new and old plane state to prepare_fb and cleanup_fb 2015-03-05 09:49:02 +10:00
mdp_common.xml.h drm/msm: update generated headers 2015-02-01 15:30:33 -05:00
mdp_format.c drm/msm/mdp: add common YUV information for MDP4/MDP5 2015-02-01 15:30:34 -05:00
mdp_kms.c drm/msm: Do not BUG_ON(!spin_is_locked()) on UP 2015-02-01 15:30:25 -05:00
mdp_kms.h drm/msm/mdp: add common YUV information for MDP4/MDP5 2015-02-01 15:30:34 -05:00