]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit2178ca76c8039ffca17d36cabad5760d8059cc46
tree7a0b0022678af746c6f3f6378334ae856c0b8728
parent09c71fbf4ee584ee605146333e022ed2def30a11
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