drm/i915: Consolidate forcewake resetting to a single function
authorChris Wilson <chris@chris-wilson.co.uk>
Thu, 13 Mar 2014 12:00:29 +0000 (12:00 +0000)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Thu, 13 Mar 2014 17:21:58 +0000 (18:21 +0100)
commit0294ae7b44bba7ab0d4cef9a8736287f38bdb4fd
tree31497188b16a3dbbfd00d65a5afea4c267126a91
parentb2040f6fed736ccd2319768bc59833abe74148b8
drm/i915: Consolidate forcewake resetting to a single function

We have two paths that try to reset the forcewake registers back to
known good values, with slightly different semantics and levels of
paranoia. Combine the two by passing a parameter to either restore the
forcewake status or to clear our bookkeeping, and raise the paranoia
level to max.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Mika Kuoppala <mika.kuoppala@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_uncore.c
This page took 0.024183 seconds and 5 git commands to generate.