@@ -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;
@@ -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;
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(-)