[36/42] drm/i915: get rid of crtc->config
diff mbox

Message ID 1431354318-11995-37-git-send-email-maarten.lankhorst@linux.intel.com
State New
Headers show

Commit Message

Maarten Lankhorst May 11, 2015, 2:25 p.m. UTC
This is now unused, goodbye. :-)

Signed-off-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
---
 drivers/gpu/drm/i915/intel_display.c | 2 --
 drivers/gpu/drm/i915/intel_drv.h     | 1 -
 2 files changed, 3 deletions(-)

Patch
diff mbox

diff --git a/drivers/gpu/drm/i915/intel_display.c b/drivers/gpu/drm/i915/intel_display.c
index 2c467cda74a4..65ee2cd0437c 100644
--- a/drivers/gpu/drm/i915/intel_display.c
+++ b/drivers/gpu/drm/i915/intel_display.c
@@ -11448,7 +11448,6 @@  intel_modeset_update_state(struct drm_atomic_state *state)
 		if (!state->crtcs[drm_crtc_index(crtc)])
 			continue;
 
-		to_intel_crtc(crtc)->config = to_intel_crtc_state(crtc->state);
 		if (crtc->state->active && needs_modeset(crtc->state))
 			drm_calc_timestamping_constants(crtc, &crtc->state->adjusted_mode);
 
@@ -13535,7 +13534,6 @@  static void intel_crtc_init(struct drm_device *dev, int pipe)
 	if (!crtc_state)
 		goto fail;
 
-	intel_crtc->config = crtc_state;
 	intel_crtc->base.state = &crtc_state->base;
 	crtc_state->base.crtc = &intel_crtc->base;
 
diff --git a/drivers/gpu/drm/i915/intel_drv.h b/drivers/gpu/drm/i915/intel_drv.h
index 6767ed91faaf..ee089ebca44f 100644
--- a/drivers/gpu/drm/i915/intel_drv.h
+++ b/drivers/gpu/drm/i915/intel_drv.h
@@ -511,7 +511,6 @@  struct intel_crtc {
 	uint32_t cursor_base;
 
 	struct intel_initial_plane_config plane_config;
-	struct intel_crtc_state *config;
 
 	/* reset counter value when the last flip was submitted */
 	unsigned int reset_counter;