projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
114d7dc
)
drm/i915: Make vlv/chv watermark debug print less cryptic
author
Ville Syrjälä
<
[email protected]
>
Fri, 21 Apr 2017 18:14:22 +0000
(21:14 +0300)
committer
Ville Syrjälä
<
[email protected]
>
Wed, 10 May 2017 13:48:31 +0000
(16:48 +0300)
The magic numbers 0,1,2 aren't all that interesting for users perhaps.
Since we know what these watermark levels mean for VLV/CHV let's print
their names.
Signed-off-by: Ville Syrjälä <
[email protected]
>
Link:
http://patchwork.freedesktop.org/patch/msgid/
[email protected]
Reviewed-by: Maarten Lankhorst <
[email protected]
>
drivers/gpu/drm/i915/intel_pm.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/i915/intel_pm.c
b/drivers/gpu/drm/i915/intel_pm.c
index 1cc13ccadee6fc5130057e882e2fb7b6eb31a6c9..da2072728df2121811f248fd0aa8dfe081ab5ad8 100644
(file)
--- a/
drivers/gpu/drm/i915/intel_pm.c
+++ b/
drivers/gpu/drm/i915/intel_pm.c
@@
-1218,7
+1218,7
@@
static bool vlv_raw_plane_wm_compute(struct intel_crtc_state *crtc_state,
out:
if (dirty)
- DRM_DEBUG_KMS("%s w
ms: [0]=%d,[1]=%d,[2]
=%d\n",
+ DRM_DEBUG_KMS("%s w
atermarks: PM2=%d, PM5=%d, DDR DVFS
=%d\n",
plane->base.name,
crtc_state->wm.vlv.raw[VLV_WM_LEVEL_PM2].plane[plane_id],
crtc_state->wm.vlv.raw[VLV_WM_LEVEL_PM5].plane[plane_id],