]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitcf1b1b2589c42e4d8b5eb34a686f9c8cdc2c6ac8
treef5625a5ee2290d06a617e15b8e9cdc465dc522b1
parent68c518307292df5c5a924520b6e7150f9a77cf99
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