Re: [Intel-gfx] [PATCH 08/12] drm/i915 + agp/intel-gtt: prep work for direct setup

2012-06-08 Thread Daniel Vetter
On Fri, Jun 08, 2012 at 01:09:10PM +0300, Jani Nikula wrote: > On Thu, 07 Jun 2012, Daniel Vetter wrote: > > #define INTEL_GTT_GEN intel_private.driver->gen > > @@ -1522,14 +1523,32 @@ static int find_gmch(u16 device) > > return 1; > > } > > > > -int intel_gmch_probe(struct pci_dev *p

Re: [Intel-gfx] [PATCH 08/12] drm/i915 + agp/intel-gtt: prep work for direct setup

2012-06-08 Thread Jani Nikula
On Thu, 07 Jun 2012, Daniel Vetter wrote: > To be able to directly set up the intel-gtt code from drm/i915 and > avoid setting up the fake-agp driver we need to prepare a few things: > - pass both the bridge and gpu pci_dev to the probe function and add > code to handle the gpu pdev both being p

[Intel-gfx] [PATCH 08/12] drm/i915 + agp/intel-gtt: prep work for direct setup

2012-06-07 Thread Daniel Vetter
To be able to directly set up the intel-gtt code from drm/i915 and avoid setting up the fake-agp driver we need to prepare a few things: - pass both the bridge and gpu pci_dev to the probe function and add code to handle the gpu pdev both being present (for drm/i915) and not present (fake agp).