FAILED: patch "[PATCH] drm/i915/skl: Ensure pipes with changed wms get added to the" failed to apply to 4.7-stable tree
Subsystems (3)
[email protected]
maintainerThe patch below does not apply to the 4.7-stable tree.
If someone wants it applied there, or to any other stable or longterm tree, then please email the backport, including the original git commit id to <[email protected]>.
thanks,
greg k-h
------------------ original commit in Linus's tree ------------------
Quoted 1 line
From
762c60ab0257d25eea8db3e3fec85ed53b5330feMon Sep 17 00:00:00 2001
From: Lyude <[email protected]>
Date: Wed, 17 Aug 2016 15:55:57 -0400
Subject: [PATCH] drm/i915/skl: Ensure pipes with changed wms get added to the
state
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
If we're enabling a pipe, we'll need to modify the watermarks on all active planes. Since those planes won't be added to the state on their own, we need to add them ourselves.
drivers/gpu/drm/i915/intel_pm.c +4 -0
@@ -4104,6 +4104,10 @@ skl_compute_ddb(struct drm_atomic_state *state) ret =skl_allocate_pipe_ddb (cstate, ddb);if (ret)return ret; + + ret =drm_atomic_add_affected_planes (state, &intel_crtc->base); +if (ret) +return ret; }return 0 ;