drm/i915: Move rotated geometry calculations into the fill helper
authorTvrtko Ursulin <tvrtko.ursulin@intel.com>
Tue, 23 Jun 2015 13:26:46 +0000 (14:26 +0100)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 24 Jun 2015 13:11:05 +0000 (15:11 +0200)
commit84fe03f7b2481b3a1cf4fb9db6e5df8d3698a4fe
treea82f5b7b7fce10f6ea30a209a61894c3439fc83b
parentc9f8fd2d87eebb97b0ffdb3ff6cd90eb1c8e00bd
drm/i915: Move rotated geometry calculations into the fill helper

This way data is available as soon as the view is passed into the call chain.

v2: Store size in bytes instead of pages under the appropriate name. (Chris Wilson)

v3: Use uint64_t instead of size_t. (Daniel Vetter)

Signed-off-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Cc: Daniel Vetter <daniel.vetter@ffwll.ch>
Cc: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Joonas Lahtinen <joonas.lahtinen@linux.intel.com> (v2)
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/i915_gem_gtt.c
drivers/gpu/drm/i915/i915_gem_gtt.h
drivers/gpu/drm/i915/intel_display.c