drm/i915: Pass modifier instead of tiling_mode to gen4_compute_page_offset()
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Tue, 12 Jan 2016 19:08:31 +0000 (21:08 +0200)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Wed, 13 Jan 2016 16:46:17 +0000 (18:46 +0200)
commitb5c653384f84b0ccb97e9cf942b6e8ed759221bf
treef3bb3831bb560897e4919889c61086dc4a82ee1f
parent657fb5fbadb3ef286ababaf6809d5594767d8063
drm/i915: Pass modifier instead of tiling_mode to gen4_compute_page_offset()

In preparation for handling more than X tiling, pass the fb modifier to
gen4_compute_page_offset() instead of the obj->tiling_mode.

Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: http://patchwork.freedesktop.org/patch/msgid/1452625717-9713-2-git-send-email-ville.syrjala@linux.intel.com
drivers/gpu/drm/i915/intel_display.c
drivers/gpu/drm/i915/intel_drv.h
drivers/gpu/drm/i915/intel_sprite.c