[Intel-gfx] [PATCH] fixup! drm/i915/skl: Eliminate usage of pipe_wm_parameters from SKL-style WM (v3)
Matt Roper
matthew.d.roper at intel.com
Thu Oct 1 16:03:09 PDT 2015
Cc: Paulo Zanoni <paulo.r.zanoni at intel.com>
Signed-off-by: Matt Roper <matthew.d.roper at intel.com>
---
Paulo, I'm not positive that this is the cause of the issues you're seeing, but
I did find this unwanted behavior change while re-reading all the SKL watermark
code. Could you give this a try and see if it improves your situation at all?
drivers/gpu/drm/i915/intel_pm.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/drivers/gpu/drm/i915/intel_pm.c b/drivers/gpu/drm/i915/intel_pm.c
index 3857592..22c97f2 100644
--- a/drivers/gpu/drm/i915/intel_pm.c
+++ b/drivers/gpu/drm/i915/intel_pm.c
@@ -2951,6 +2951,9 @@ skl_get_total_relative_data_rate(const struct intel_crtc_state *cstate)
if (pstate->fb == NULL)
continue;
+ if (intel_plane->base.type == DRM_PLANE_TYPE_CURSOR)
+ continue;
+
/* packed/uv */
total_data_rate += skl_plane_relative_data_rate(cstate,
pstate,
--
2.1.4
More information about the Intel-gfx
mailing list