aboutsummaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/i915/i915_drv.h
diff options
context:
space:
mode:
authorGravatar Maarten Lankhorst <maarten.lankhorst@linux.intel.com> 2016-11-08 13:55:33 +0100
committerGravatar Maarten Lankhorst <maarten.lankhorst@linux.intel.com> 2016-11-15 11:23:11 +0100
commite62929b3f628f4dd023b95bdf63d486d877b8e1e (patch)
tree527189a6e5c140b37bf4b0e073563f6f18923395 /drivers/gpu/drm/i915/i915_drv.h
parentdrm/i915: Add an atomic evasion step to watermark programming, v4. (diff)
downloadlinux-e62929b3f628f4dd023b95bdf63d486d877b8e1e.tar.gz
linux-e62929b3f628f4dd023b95bdf63d486d877b8e1e.tar.bz2
linux-e62929b3f628f4dd023b95bdf63d486d877b8e1e.zip
drm/i915/gen9+: Program watermarks as a separate step during evasion, v3.
The watermark updates for SKL style watermarks are no longer done in the plane callbacks, but are now called in a separate watermark update function that's called during the same vblank evasion, before the plane updates. This also gets rid of the global skl_results, which was required for keeping track of the current atomic commit. Changes since v1: - Move line unwrap to correct patch. (Lyude) - Make sure we don't regress ILK watermarks. (Matt) - Rephrase commit message. (Matt) Changes since v2: - Fix disable watermark check to use the correct way to determine single step watermark support. Reviewed-by: Matt Roper <matthew.d.roper@intel.com> Reviewed-by: Lyude <cpaul@redhat.com> Signed-off-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com> Link: http://patchwork.freedesktop.org/patch/msgid/1478609742-13603-3-git-send-email-maarten.lankhorst@linux.intel.com [mlankhorst: Small whitespace fix in skl_initial_wm]
Diffstat (limited to 'drivers/gpu/drm/i915/i915_drv.h')
-rw-r--r--drivers/gpu/drm/i915/i915_drv.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/drivers/gpu/drm/i915/i915_drv.h b/drivers/gpu/drm/i915/i915_drv.h
index 194f0fda3a9f..12f004e5d71f 100644
--- a/drivers/gpu/drm/i915/i915_drv.h
+++ b/drivers/gpu/drm/i915/i915_drv.h
@@ -2047,13 +2047,6 @@ struct drm_i915_private {
*/
uint16_t skl_latency[8];
- /*
- * The skl_wm_values structure is a bit too big for stack
- * allocation, so we keep the staging struct where we store
- * intermediate results here instead.
- */
- struct skl_wm_values skl_results;
-
/* current hardware state */
union {
struct ilk_wm_values hw;