OSDN Git Service

drm/i915: Change plane_config to store a tiling_mode
authorDamien Lespiau <damien.lespiau@intel.com>
Tue, 20 Jan 2015 12:51:44 +0000 (12:51 +0000)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Tue, 27 Jan 2015 08:51:00 +0000 (09:51 +0100)
commit49af449b457b721ac5c18f537cf7484903f212f8
treef5625a5ee2290d06a617e15b8e9cdc465dc522b1
parent38c2352716ec6bab1adb8e36428da907c9dfaac3
drm/i915: Change plane_config to store a tiling_mode

Rather than having "tiled" meaning "is it X-tiled?" convert the field to
explicitely store the tiling mode. The code doesn't have to change much
as 1 is conveniently I915_TILING_X.

This is to accommodate future changes around tiling modes and scannout
buffers.

v2: Rebase on top of Ander's "Make intel_crtc->config a pointer"

Reviewed-By: Tvrtko Ursulin <tvrtko.ursulin@intel.com> (v1)
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
drivers/gpu/drm/i915/intel_drv.h
drivers/gpu/drm/i915/intel_fbdev.c