projects
/
platform
/
kernel
/
linux-starfive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
140f70a
)
drm/i915/cdclk: convert to drm device based logging
author
Jani Nikula
<jani.nikula@intel.com>
Fri, 21 Jan 2022 13:00:38 +0000
(15:00 +0200)
committer
Jani Nikula
<jani.nikula@intel.com>
Mon, 24 Jan 2022 13:20:25 +0000
(15:20 +0200)
Prefer drm device based logging.
Cc: Ville Syrjälä <ville.syrjala@linux.intel.com>
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link:
https://patchwork.freedesktop.org/patch/msgid/0074a45193873aea0becdf7cc87c0f06754ab706.1642769982.git.jani.nikula@intel.com
drivers/gpu/drm/i915/display/intel_cdclk.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/i915/display/intel_cdclk.c
b/drivers/gpu/drm/i915/display/intel_cdclk.c
index
c4b48b8
..
4b140a0
100644
(file)
--- a/
drivers/gpu/drm/i915/display/intel_cdclk.c
+++ b/
drivers/gpu/drm/i915/display/intel_cdclk.c
@@
-1625,7
+1625,7
@@
static void adlp_cdclk_pll_crawl(struct drm_i915_private *dev_priv, int vco)
/* Timeout 200us */
if (intel_de_wait_for_set(dev_priv, BXT_DE_PLL_ENABLE,
BXT_DE_PLL_LOCK | BXT_DE_PLL_FREQ_REQ_ACK, 1))
-
DRM_ERROR(
"timeout waiting for FREQ change request ack\n");
+
drm_err(&dev_priv->drm,
"timeout waiting for FREQ change request ack\n");
val &= ~BXT_DE_PLL_FREQ_REQ;
intel_de_write(dev_priv, BXT_DE_PLL_ENABLE, val);