[Intel-gfx] [PATCH] drm/i915: Silence compiler warning for hsw_power_well_enable()

Chris Wilson chris at chris-wilson.co.uk
Fri Oct 6 17:04:50 UTC 2017


Quoting Imre Deak (2017-10-02 12:42:24)
> On Mon, Oct 02, 2017 at 11:04:16AM +0100, Chris Wilson wrote:
> > Not all compilers are able to determine that pg is guarded by wait_fuses
> > and so may think that pg is used uninitialized.
> > 
> > Reported-by: Geert Uytterhoeven <geert at linux-m68k.org>
> > Fixes: b2891eb2531e ("drm/i915/hsw+: Add has_fuses power well attribute")
> > Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>
> > Cc: Imre Deak <imre.deak at intel.com>
> > Cc: Arkadiusz Hiler <arkadiusz.hiler at intel.com>
> 
> Reviewed-by: Imre Deak <imre.deak at intel.com>

Thanks for the review, applied so we should be off the nag list in the
cycle.
-Chris


More information about the Intel-gfx mailing list