[Intel-gfx] [CABC PATCH v1 1/3][RFC] drm/i915: Store the CABC enabled field parsed from VBT to dev_priv structure

Deepak M m.deepak at intel.com
Sun Jul 5 21:16:05 PDT 2015


Signed-off-by: Deepak M <m.deepak at intel.com>
---
 drivers/gpu/drm/i915/i915_drv.h   |    1 +
 drivers/gpu/drm/i915/intel_bios.c |    2 ++
 2 files changed, 3 insertions(+)

diff --git a/drivers/gpu/drm/i915/i915_drv.h b/drivers/gpu/drm/i915/i915_drv.h
index 1dbd957..1d30cb7 100644
--- a/drivers/gpu/drm/i915/i915_drv.h
+++ b/drivers/gpu/drm/i915/i915_drv.h
@@ -1470,6 +1470,7 @@ struct intel_vbt_data {
 		struct mipi_config *config;
 		struct mipi_pps_data *pps;
 		u8 seq_version;
+		u8 cabc_supported;
 		u32 size;
 		u8 *data;
 		u8 *sequence[MIPI_SEQ_MAX];
diff --git a/drivers/gpu/drm/i915/intel_bios.c b/drivers/gpu/drm/i915/intel_bios.c
index 2ff9eb0..6d8f0d4 100644
--- a/drivers/gpu/drm/i915/intel_bios.c
+++ b/drivers/gpu/drm/i915/intel_bios.c
@@ -845,6 +845,8 @@ parse_mipi(struct drm_i915_private *dev_priv, const struct bdb_header *bdb)
 	if (!dev_priv->vbt.dsi.data)
 		return;
 
+	dev_priv->vbt.dsi.config->cabc_supported = config->cabc_supported;
+
 	/*
 	 * loop into the sequence data and split into multiple sequneces
 	 * There are only 5 types of sequences as of now
-- 
1.7.9.5



More information about the Intel-gfx mailing list