Re: [PATCH] drm/i915: Set up an MTRR covering the GTT at driver load.

From: Roland Dreier
Date: Fri Jan 23 2009 - 18:13:59 EST


> + dev_priv->mm.gtt_mtrr = -1;
> + dev_priv->mm.gtt_mtrr = mtrr_add(dev->agp->base,
> + dev->agp->agp_info.aper_size *
> + 1024 * 1024,
> + MTRR_TYPE_WRCOMB, 1);

Two assignments to gtt_mtrr in a row looks a bit odd?

- R.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/