]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit445f8c928b76f7318314a39ff755049f0fa76962
treea7757330dea802aeeeb04609b590750e411af2cf
parent29cccd17ef73eb17fef701440b4da05ba0a4e324
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