From eeefa889cddb8d7e4ee6ce0212e685dd624d66a1 Mon Sep 17 00:00:00 2001 From: Daniel Vetter Date: Fri, 11 Jul 2014 10:30:18 -0700 Subject: [PATCH] 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 Cc: Chris Wilson Signed-off-by: Daniel Vetter --- Reading git-format-patch failed