drm/i915: cleanup mode setting before unmapping registers
authorJesse Barnes <jbarnes@virtuousgeek.org>
Fri, 26 Mar 2010 18:07:21 +0000 (11:07 -0700)
committerEric Anholt <eric@anholt.net>
Fri, 7 May 2010 20:59:30 +0000 (13:59 -0700)
commit3d8620cc5f8538364ee152811e2bd8713abb1d58
treeb0e209e85ecb9fbd5afbce60e85cc5211fb1c86b
parentee5382aedf669127bf672a3fc5313247fc288e26
drm/i915: cleanup mode setting before unmapping registers

We'll turn off outputs etc at unload time, so don't unmap the registers
before doing it.

Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Signed-off-by: Eric Anholt <eric@anholt.net>
drivers/gpu/drm/i915/i915_dma.c