[Intel-gfx] [PATCH 10/10] drm/i915: Kill off actually requiring AGP

Daniel Vetter daniel at ffwll.ch
Fri Oct 26 00:47:31 CEST 2012


On Thu, Oct 25, 2012 at 03:39:08PM -0700, Jesse Barnes wrote:
> > > It would be cool to actually remove the dep for pre-gen6.  I don't
> > > think we need this patch in either case.
> > > 
> > 
> > Your linker is going to complain without it, unless I don't follow your
> > meaning.
> 
> I mean unless we split the driver into gen6+ and pre-gen6 (with a
> config option or otherwise), we can't really kill the dependency unless
> we actually pull the rest of the AGP stuff we need into i915.  I'd kind
> of like to do the latter, but the non-KMS configs would break.

Also, some kms config actually break because we've managed to ship
userspace that uses kms, but in parts also still uses the legacy drmMap
api. Which in our case means we need to have a working (but fake) agp
driver around. This entire thing is one giant mess, but I think with the
gen6+ stuff moved it's about as good as it will get. And I don't mind the
old crap too much, we have an entire dungeon full of them in i915_dma.c,
too ;-)
-Daniel
-- 
Daniel Vetter
Software Engineer, Intel Corporation
+41 (0) 79 365 57 48 - http://blog.ffwll.ch



More information about the Intel-gfx mailing list