Daniel Vetter 14be93ddff drm/i915 + agp/intel-gtt: prep work for direct setup
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).
- add refcounting to the remove function so that unloading drm/i915
  doesn't kill the fake agp driver

v2: Fix up the cleanup and refcount, noticed by Jani Nikula.

Reviewed-by: Jani Nikula <jani.nikula@linux.intel.com>
Signed-Off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
2012-06-12 22:19:49 +02:00
..
2010-08-10 08:20:20 +10:00
2012-05-22 10:54:30 +01:00
2012-04-27 09:29:35 +01:00
2011-05-09 09:14:45 +10:00
2012-05-22 10:54:16 +01:00
2011-02-07 13:09:42 +10:00
2012-05-17 20:14:48 +09:00
2012-03-10 13:06:04 +00:00
2011-03-31 11:26:23 -03:00
2011-03-31 11:26:23 -03:00