i915: restore only the mode of this driver on lastclose
authorDave Airlie <airlied@redhat.com>
Tue, 5 Apr 2011 07:57:23 +0000 (17:57 +1000)
committerDave Airlie <airlied@redhat.com>
Sat, 9 Apr 2011 02:08:30 +0000 (12:08 +1000)
commit0a0883c8433c743dad0a4d9ebe2717558f2c209e
tree144b09be3cccdb2a91f52b46233d21186e6622aa
parent94c8a984ae2adbd9a9626fb42e0f2faf3e36e86f
i915: restore only the mode of this driver on lastclose

This has always used a big hammer, but that hammer is probably
too big, I'm also not sure its necessary but at least this
should be safe.

Should fix: https://bugzilla.kernel.org/show_bug.cgi?id=23592

Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/i915/i915_dma.c
drivers/gpu/drm/i915/intel_drv.h
drivers/gpu/drm/i915/intel_fb.c