commit | eeefa889cddb8d7e4ee6ce0212e685dd624d66a1 | [log] [tgz] |
---|---|---|
author | Daniel Vetter <daniel.vetter@ffwll.ch> | Fri Jul 11 10:30:18 2014 -0700 |
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | Wed Jul 23 07:05:20 2014 +0200 |
tree | 026c1110b986caa1b7b025a7bd56eabb0450f7dc | |
parent | fa128fa647b81734ff83c3c5ee0d60ebf69e6ee5 [diff] |
drm/i915: Remove redundant HAS_PSR checks We only need to check for this in psr_enable, everything else is already protect by the dev_priv->psr.enabled checks. Those need the psr locking, but these functions are called infrequent enough that the locking overhead is negligible. Suggested by Chris Wilson. Reviewed-by: Rodrigo Vivi <rodrigo.vivi@intel.com> Cc: Chris Wilson <chris@chris-wilson.co.uk> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>