]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Add dependency on the intel agp module
authorZhenyu Wang <zhenyuw@linux.intel.com>
Tue, 23 Feb 2010 06:05:24 +0000 (14:05 +0800)
committerEric Anholt <eric@anholt.net>
Fri, 26 Feb 2010 21:23:20 +0000 (13:23 -0800)
commit87e44f7f164a6d507d48e1efcff2c753f551cc82
treedd9d5a80528078424dd4b3385917c3e82ee374cd
parent1b4802811761e77daf4b45b06fa10d5527905196
drm/i915: Add dependency on the intel agp module

See http://bugzilla.kernel.org/show_bug.cgi?id=15021

Make sure that the appropriate AGP module is loaded and probed before
trying to set up the DRM.  The DRM already depends on the AGP core,
but in this case we know the specific AGP driver we need too, and can
help users avoid the trap of loading the AGP driver after the DRM
driver.

Signed-off-by: Zhenyu Wang <zhenyuw@linux.intel.com>
Signed-off-by: Eric Anholt <eric@anholt.net>
drivers/char/agp/intel-agp.c
drivers/gpu/drm/i915/i915_drv.c