public inbox for intel-gfx@lists.freedesktop.org
 help / color / mirror / Atom feed
From: Daniel Vetter <daniel@ffwll.ch>
To: Damien Lespiau <damien.lespiau@intel.com>
Cc: intel-gfx <intel-gfx@lists.freedesktop.org>
Subject: Re: [PATCH] drm/i915/skl: Don't clear all watermarks when updating. (v2)
Date: Tue, 22 Sep 2015 15:46:34 +0200	[thread overview]
Message-ID: <20150922134634.GV3383@phenom.ffwll.local> (raw)
In-Reply-To: <20150921134856.GA24315@strange.ger.corp.intel.com>

On Mon, Sep 21, 2015 at 02:48:56PM +0100, Damien Lespiau wrote:
> On Tue, Jul 21, 2015 at 10:42:53AM -0700, Bob Paauwe wrote:
> > Clearing the watermarks for all pipes/planes when updating the
> > watermarks for a single CRTC change seems like the wrong thing to
> > do here. As is, this code will ony update any pipe/plane watermarks
> > that need updating and leave the remaining set to zero.  Later, the
> > watermark checks in check_wm_state() will flag these zero'd out pipe/plane
> > watermarks and throw errors.
> > 
> > By clearing only the watermark values associated with the specific crtc
> > the other watermark values may remain unchanged.
> > 
> > v2: Make sure all the dirty flags are cleared. Damien
> >     Clear all values assoicated with crtc/pipe being updated.  Damien
> > 
> > Signed-off-by: Bob Paauwe <bob.j.paauwe@intel.com>
> 
> Reviewed-by: Damien Lespiau <damien.lespiau@intel.com>
> 
> - Moving to a "array of structs" from a "struct of arrays" organization
>   as suggested by Ville would make that much better
> - I'd move clearing the dirty flag right after writing the registers

Queued for -next, thanks for the patch.
-Daniel
-- 
Daniel Vetter
Software Engineer, Intel Corporation
http://blog.ffwll.ch
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/intel-gfx

      reply	other threads:[~2015-09-22 13:43 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-07-08 16:05 [PATCH] drm/i915: Don't clear all watermarks when updating Bob Paauwe
2015-07-08 21:55 ` shuang.he
2015-07-16 12:30 ` Damien Lespiau
2015-07-16 17:15   ` Bob Paauwe
2015-07-16 12:31 ` Damien Lespiau
2015-07-21 17:42 ` [PATCH] drm/i915/skl: Don't clear all watermarks when updating. (v2) Bob Paauwe
2015-09-02 16:49   ` Bob Paauwe
2015-09-21 13:48   ` Damien Lespiau
2015-09-22 13:46     ` Daniel Vetter [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20150922134634.GV3383@phenom.ffwll.local \
    --to=daniel@ffwll.ch \
    --cc=damien.lespiau@intel.com \
    --cc=intel-gfx@lists.freedesktop.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox