]> git.baikalelectronics.ru Git - kernel.git/commit
agp/intel-gtt: don't require the agp bridge on setup
authorDaniel Vetter <daniel.vetter@ffwll.ch>
Thu, 7 Jun 2012 13:55:58 +0000 (15:55 +0200)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Tue, 12 Jun 2012 20:18:54 +0000 (22:18 +0200)
commit59da3ac62665a513c9197a257bdd1557985eefc2
tree34ab363540937a898b828e05e48fbd6667f77491
parente159a539d0e662a3f11bf9d6eea867f79bb3192c
agp/intel-gtt: don't require the agp bridge on setup

We only need it to fake the agp interface and don't actually
use it in the driver anywhere. Hence conditionalize that.

This is just a prep patch to eventually disable the fake agp
driver on gen6+.

Reviewed-by: Jani Nikula <jani.nikula@linux.intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/char/agp/intel-gtt.c