drm/i915: Unclutter the get_plane() functions
authorDamien Lespiau <damien.lespiau@intel.com>
Tue, 20 Jan 2015 12:51:46 +0000 (12:51 +0000)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Tue, 27 Jan 2015 08:51:01 +0000 (09:51 +0100)
commitb113d5ee4d0cd85b5b3b9a172b4b4f5be737e752
treea7757330dea802aeeeb04609b590750e411af2cf
parentec2c981e6232ac2039e679d24642b80fbbd2acc6
drm/i915: Unclutter the get_plane() functions

crtc->base.primary->fb was used everywhere. Use fb to temporarily point
there and don't forget to assign fb to its final destination at the end.

v2: Rebase on top of misc changes (mask of DSPSURF, PAGE_ALIGN)

Reviewed-By: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_display.c