On Sat, Oct 25, 2014 at 12:11:13AM +0100, Damien Lespiau wrote: > OCD kicks in again... > > Signed-off-by: Damien Lespiau <damien.lespiau@xxxxxxxxx> > --- > drivers/gpu/drm/i915/intel_display.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/drivers/gpu/drm/i915/intel_display.c b/drivers/gpu/drm/i915/intel_display.c > index 07440ad..dd071c6 100644 > --- a/drivers/gpu/drm/i915/intel_display.c > +++ b/drivers/gpu/drm/i915/intel_display.c > @@ -9561,6 +9561,7 @@ static void ilk_do_mmio_flip(struct intel_crtc *intel_crtc) > struct drm_i915_gem_object *obj = intel_fb->obj; > u32 dspcntr; > u32 reg; > + > reg = DSPCNTR(intel_crtc->plane); ocd would have moved it into the variable block and made it const. ;-) -Chris -- Chris Wilson, Intel Open Source Technology Centre _______________________________________________ Intel-gfx mailing list Intel-gfx@xxxxxxxxxxxxxxxxxxxxx http://lists.freedesktop.org/mailman/listinfo/intel-gfx