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)
commit7e8f6306fe155d6fc3fe99d666be95b4ed24427d
tree34ab363540937a898b828e05e48fbd6667f77491
parentdd2757f8b557ab2030154896eac9b2285557dda6
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