summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/i915/intel_drv.h
diff options
context:
space:
mode:
authorDamien Lespiau2015-01-20 13:51:44 +0100
committerDaniel Vetter2015-01-27 09:51:00 +0100
commit49af449b457b721ac5c18f537cf7484903f212f8 (patch)
treef5625a5ee2290d06a617e15b8e9cdc465dc522b1 /drivers/gpu/drm/i915/intel_drv.h
parentdrm/i915/skl: Gen9 coarse power gating (diff)
downloadkernel-qcow2-linux-49af449b457b721ac5c18f537cf7484903f212f8.tar.gz
kernel-qcow2-linux-49af449b457b721ac5c18f537cf7484903f212f8.tar.xz
kernel-qcow2-linux-49af449b457b721ac5c18f537cf7484903f212f8.zip
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>
Diffstat (limited to 'drivers/gpu/drm/i915/intel_drv.h')
-rw-r--r--drivers/gpu/drm/i915/intel_drv.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/i915/intel_drv.h b/drivers/gpu/drm/i915/intel_drv.h
index e4b83a6b8227..04e2cfcc630b 100644
--- a/drivers/gpu/drm/i915/intel_drv.h
+++ b/drivers/gpu/drm/i915/intel_drv.h
@@ -258,7 +258,7 @@ struct intel_plane_state {
};
struct intel_plane_config {
- bool tiled;
+ unsigned int tiling;
int size;
u32 base;
};