drm/i915: Actually set the reset bit in i965_reset.
authorKenneth Graunke <kenneth@whitecape.org>
Sat, 11 Sep 2010 08:19:14 +0000 (01:19 -0700)
committerChris Wilson <chris@chris-wilson.co.uk>
Tue, 21 Sep 2010 10:19:46 +0000 (11:19 +0100)
commitf49f0586191fe16140410db0a46d43bdc690d6af
tree7a0b0022678af746c6f3f6378334ae856c0b8728
parenta6c45cf013a57e32ddae43dd4ac911eb4a3919fd
drm/i915: Actually set the reset bit in i965_reset.

Previously, it was only being set if passed GDRST_FULL - but the only
caller passed GDRST_RENDER.  So the hardware never actually reset.
The comments also did not match the code.

Instead, just set the reset bit regardless of what flags were passed.
The GPU now resets correctly on my GM45.

Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
drivers/gpu/drm/i915/i915_drv.c