Message ID | 1414192274-15933-3-git-send-email-damien.lespiau@intel.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
On Sat, Oct 25, 2014 at 12:11:13AM +0100, Damien Lespiau wrote: > OCD kicks in again... > > Signed-off-by: Damien Lespiau <damien.lespiau@intel.com> > --- > 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
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); dspcntr = I915_READ(reg);
OCD kicks in again... Signed-off-by: Damien Lespiau <damien.lespiau@intel.com> --- drivers/gpu/drm/i915/intel_display.c | 1 + 1 file changed, 1 insertion(+)