]> 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)
commit1fccab6047b2205e19af997c9c30be0b7e7cf9ea
tree34ab363540937a898b828e05e48fbd6667f77491
parentc1c656fd71dd180e6203a5ac44b54594d1dbf74d
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