Re: [Intel-gfx] [PATCH 07/42] drm/i915: Get rid of crtc->new_enabled, v2.

2015-05-11 Thread Daniel Vetter
On Mon, May 11, 2015 at 07:33:01PM +0200, Daniel Vetter wrote: > On Mon, May 11, 2015 at 04:24:43PM +0200, Maarten Lankhorst wrote: > > @@ -14679,7 +14646,8 @@ static bool primary_get_hw_state(struct intel_crtc > > *crtc) > > return I915_READ(DSPCNTR(crtc->plane)) & DISPLAY_PLANE_ENABLE; > >

Re: [Intel-gfx] [PATCH 07/42] drm/i915: Get rid of crtc->new_enabled, v2.

2015-05-11 Thread Daniel Vetter
On Mon, May 11, 2015 at 04:24:43PM +0200, Maarten Lankhorst wrote: > @@ -14679,7 +14646,8 @@ static bool primary_get_hw_state(struct intel_crtc > *crtc) > return I915_READ(DSPCNTR(crtc->plane)) & DISPLAY_PLANE_ENABLE; > } > > -static void intel_modeset_readout_hw_state(struct drm_device *

[Intel-gfx] [PATCH 07/42] drm/i915: Get rid of crtc->new_enabled, v2.

2015-05-11 Thread Maarten Lankhorst
No longer any different from state->enable. v2: Keep track of enabled crtc's for calling intel_crtc_restore_mode. Signed-off-by: Maarten Lankhorst --- drivers/gpu/drm/i915/intel_display.c | 63 +++- drivers/gpu/drm/i915/intel_drv.h | 1 - 2 files changed, 18