[Intel-gfx] [RFC PATCH] drm/i915/tgl: tgl_disallow_dc3co_on_psr2_exit() can be static

kbuild test robot lkp at intel.com
Wed Jul 31 07:11:29 UTC 2019


Fixes: c29a18e702f3 ("drm/i915/tgl: DC3CO PSR2 helper")
Signed-off-by: kbuild test robot <lkp at intel.com>
---
 intel_psr.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/gpu/drm/i915/display/intel_psr.c b/drivers/gpu/drm/i915/display/intel_psr.c
index 12765b1f9e339c..85ff6411126669 100644
--- a/drivers/gpu/drm/i915/display/intel_psr.c
+++ b/drivers/gpu/drm/i915/display/intel_psr.c
@@ -563,7 +563,7 @@ void tgl_psr2_deep_sleep_enable(struct drm_i915_private *dev_priv)
 	I915_WRITE(EDP_PSR2_CTL, val);
 }
 
-void tgl_disallow_dc3co_on_psr2_exit(struct drm_i915_private *dev_priv)
+static void tgl_disallow_dc3co_on_psr2_exit(struct drm_i915_private *dev_priv)
 {
 	intel_wakeref_t wakeref __maybe_unused;
 


More information about the Intel-gfx mailing list