summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/drm_auth.c
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2014-03-13 12:00:29 +0000
committerDaniel Vetter <daniel.vetter@ffwll.ch>2014-03-13 18:21:58 +0100
commit0294ae7b44bba7ab0d4cef9a8736287f38bdb4fd (patch)
tree31497188b16a3dbbfd00d65a5afea4c267126a91 /drivers/gpu/drm/drm_auth.c
parentb2040f6fed736ccd2319768bc59833abe74148b8 (diff)
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>
Diffstat (limited to 'drivers/gpu/drm/drm_auth.c')
0 files changed, 0 insertions, 0 deletions