Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1467559

Re: [PATCH v12 4/7] drm/i915/skl: Update plane watermarks atomically during plane updates

Path csiph.com!news.mixmin.net!aioe.org!gothmog.csi.it!bofh.it!news.nic.it!robomod
From Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Newsgroups linux.kernel
Subject Re: [PATCH v12 4/7] drm/i915/skl: Update plane watermarks atomically during plane updates
Date Mon, 22 Aug 2016 13:30:01 +0200
Message-ID <s8VAt-5Ed-17@gated-at.bofh.it> (permalink)
References <s7fah-5wE-3@gated-at.bofh.it> <s7fah-5wE-1@gated-at.bofh.it>
X-Original-To Lyude <cpaul@redhat.com>, intel-gfx@lists.freedesktop.org, Ville Syrjälä <ville.syrjala@linux.intel.com>, Matt Roper <matthew.d.roper@intel.com>
X-Extloop1 1
X-Ironport-Av E=Sophos;i="5.28,559,1464678000"; d="scan'208";a="1018437561"
User-Agent Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.1.1
MIME-Version 1.0
Content-Type text/plain; charset=utf-8
Content-Transfer-Encoding 7bit
Sender robomod@news.nic.it
List-ID <linux-kernel.vger.kernel.org>
X-Mailing-List linux-kernel@vger.kernel.org
Approved robomod@news.nic.it
Lines 18
Organization linux.* mail to news gateway
X-Original-Cc stable@vger.kernel.org, Daniel Vetter <daniel.vetter@intel.com>, Radhakrishna Sripada <radhakrishna.sripada@intel.com>, Hans de Goede <hdegoede@redhat.com>, Jani Nikula <jani.nikula@linux.intel.com>, David Airlie <airlied@linux.ie>, dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org
X-Original-Date Mon, 22 Aug 2016 13:24:11 +0200
X-Original-Message-ID <6048370c-fd04-4a73-8e79-44a90c08b1e4@linux.intel.com>
X-Original-References <1471463761-26796-1-git-send-email-cpaul@redhat.com> <1471463761-26796-5-git-send-email-cpaul@redhat.com>
X-Original-Sender linux-kernel-owner@vger.kernel.org
Xref csiph.com linux.kernel:1467559

Show key headers only | View raw


Op 17-08-16 om 21:55 schreef Lyude:
> Thanks to Ville for suggesting this as a potential solution to pipe
> underruns on Skylake.
>
> On Skylake all of the registers for configuring planes, including the
> registers for configuring their watermarks, are double buffered. New
> values written to them won't take effect until said registers are
> "armed", which is done by writing to the PLANE_SURF (or in the case of
> cursor planes, the CURBASE register) register.
>
> With this in mind, up until now we've been updating watermarks on skl
> like this:
This patch breaks on plane disabling. I think that all the disable_plane hooks
should zero all the watermark values. This might also make modeset more reliable

It's shown in this testcase that I wrote to expose this issue: kms_atomic_transition.plane-all-modeset-transition

I've applied patch 1, 2, 3 and 5 with some minor fixes.

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH v12 4/7] drm/i915/skl: Update plane watermarks atomically during plane updates Lyude <cpaul@redhat.com> - 2016-08-17 22:00 +0200
  Re: [PATCH v12 4/7] drm/i915/skl: Update plane watermarks atomically  during plane updates Maarten Lankhorst <maarten.lankhorst@linux.intel.com> - 2016-08-22 13:30 +0200
    [PATCH v13 4/7] drm/i915/skl: Update plane watermarks atomically during plane updates Lyude <cpaul@redhat.com> - 2016-08-22 19:00 +0200
      Re: [PATCH v13 4/7] drm/i915/skl: Update plane watermarks atomically  during plane updates Maarten Lankhorst <maarten.lankhorst@linux.intel.com> - 2016-08-23 12:20 +0200
        [RESEND PATCH v13 7/7] drm/i915/skl: Update DDB values atomically with wms/plane attrs Lyude <cpaul@redhat.com> - 2016-08-23 16:20 +0200
        [RESEND PATCH v13 6/7] drm/i915: Move CRTC updating in atomic_commit into it's own hook Lyude <cpaul@redhat.com> - 2016-08-23 16:20 +0200

csiph-web