drm/i915: Reset state after a GPU reset or resume
authorChris Wilson <chris@chris-wilson.co.uk>
Mon, 24 Jan 2011 15:14:41 +0000 (15:14 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Tue, 25 Jan 2011 19:23:28 +0000 (19:23 +0000)
commit500f7147cf5bafd139056d521536b10c2bc2e154
treeee18c9c05fa929d716bbd1c06d84549e197a9a36
parenteb03355660b44cf6b1ed2f895085b9de8f74efbc
drm/i915: Reset state after a GPU reset or resume

Call drm_mode_config_reset() after an invalidation event to restore any
cached state to unknown.

Tested-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
drivers/gpu/drm/i915/i915_drv.c