drm/i915: Refactor CURBASE calculation
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Mon, 27 Mar 2017 18:55:34 +0000 (21:55 +0300)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Wed, 10 May 2017 16:00:30 +0000 (19:00 +0300)
commit1cecc830e6b662a765d60860112cf69182b56b8e
tree0a1f0fd6b9dc4735cb2cfdd258a53498a40952cb
parent282dbf9b017bc6d5fdaeadf14e534c2fe22fee2d
drm/i915: Refactor CURBASE calculation

The remaining cursor base address calculations are spread
around into several different locations. Just pull it all
into one place.

v2: Don't pass intel_plane as we don't really need it

Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Link: http://patchwork.freedesktop.org/patch/msgid/20170327185546.2977-4-ville.syrjala@linux.intel.com
drivers/gpu/drm/i915/intel_display.c