[Intel-gfx] [PATCH] drm/i915: Fix divide by zero on watermark update

Damien Lespiau damien.lespiau at intel.com
Thu Jul 16 10:26:52 PDT 2015


On Thu, Jul 16, 2015 at 05:44:17PM +0100, Damien Lespiau wrote:
> On Thu, Jul 16, 2015 at 07:36:51PM +0300, Mika Kuoppala wrote:
> > Fix divide by zero if we end up updating the watermarks
> > with zero dotclock.
> > 
> > This is a stop gap measure to allow module load in cases
> > where our state keeping fails.
> > 
> > v2: WARN_ON added (Paulo)
> > 
> > Cc: Paulo Zanoni <przanoni at gmail.com>
> > Cc: Damien Lespiau <damien.lespiau at intel.com>
> > Signed-off-by: Mika Kuoppala <mika.kuoppala at intel.com>
> 
> I want to say a loading module is more important than a proper fix, so:
> 
> Reviewed-by: Damien Lespiau <damien.lespiau at intel.com>

Also it'd be great to ammend the prefix: 'drm/i915/skl'.

-- 
Damien


More information about the Intel-gfx mailing list