drm/i915: fix oops on agp=off
authorDave Airlie <airlied@linux.ie>
Sat, 29 Mar 2008 21:53:58 +0000 (07:53 +1000)
committerDave Airlie <airlied@linux.ie>
Sat, 29 Mar 2008 21:53:58 +0000 (07:53 +1000)
commit144a75fa1faa4a81530bded2e59872ef80d496b6
tree34caab94365cd11ad39a0e551f68072db79c97fd
parent0c76be35194563f56e02fc1775d0fe29281e84d4
drm/i915: fix oops on agp=off

From Kernel BZ 10289 - not sure why anyone would boot an intel with no agp
but it shouldn't crash.

Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/char/drm/i915_dma.c