drm/i915: Remove redundant HAS_PSR checks
authorDaniel Vetter <daniel.vetter@ffwll.ch>
Fri, 11 Jul 2014 17:30:18 +0000 (10:30 -0700)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 23 Jul 2014 05:05:20 +0000 (07:05 +0200)
commiteeefa889cddb8d7e4ee6ce0212e685dd624d66a1
tree026c1110b986caa1b7b025a7bd56eabb0450f7dc
parentfa128fa647b81734ff83c3c5ee0d60ebf69e6ee5
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>
drivers/gpu/drm/i915/intel_dp.c
This page took 0.024928 seconds and 5 git commands to generate.