[Intel-gfx] [PATCH] drm/i915: disable drm agp support for !gen3 with kms enabled

Daniel Vetter daniel at ffwll.ch
Mon Jun 25 21:11:36 CEST 2012


On Mon, Jun 25, 2012 at 04:18:32PM +0100, Chris Wilson wrote:
> On Mon, 25 Jun 2012 15:58:49 +0200, Daniel Vetter <daniel.vetter at ffwll.ch> wrote:
> > This is the quick&dirty way Dave Airlie suggested to workaround the
> > midlayer drm agp brain-damange. Note that i915_probe is only called
> > when the driver has ksm enabled, so no need to check for that.
> s/ksm/kms/
> > 
> > We also need to move the intel_agp_enabled check at the right place.
> > Note that the only thing this does is enforce the correct module load
> > order (by using a symbol from intel-agp.ko) to ensure that the fake
> > agp driver is ready before the drm core tries to set up the agp stuff.
> > 
> > v2: Add a comment to explain why gen3 needs all this legacy fake agp
> > stuff - we've shipped an XvMC library with a kms-enabled ddx that
> > requires it (but only on gen3).
> > 
> > v3: Make it clear that this is really a gen3 issue only in the
> > comment.
> Make it clear that this is only a gen3 issue in the comment.
>  
> > Signed-Off-by: Daniel Vetter <daniel.vetter at ffwll.ch>
> 
> Reviewed-by: Chris Wilson <chris at chris-wilson.co.uk>

I've queued all three patches for -next (with the changelog fixed as
suggested), thanks for the review.
-Daniel
-- 
Daniel Vetter
Mail: daniel at ffwll.ch
Mobile: +41 (0)79 365 57 48



More information about the Intel-gfx mailing list