From: "Ville Syrjälä" <ville.syrjala@linux.intel.com>
To: Chris Wilson <chris@chris-wilson.co.uk>, intel-gfx@lists.freedesktop.org
Subject: Re: [PATCH 03/13] drm/i915: Split watermark level computation from the code
Date: Wed, 7 Aug 2013 12:56:48 +0300 [thread overview]
Message-ID: <20130807095648.GP5004@intel.com> (raw)
In-Reply-To: <20130806205631.GO8181@cantiga.alporthouse.com>
On Tue, Aug 06, 2013 at 09:56:31PM +0100, Chris Wilson wrote:
> On Tue, Aug 06, 2013 at 10:24:02PM +0300, ville.syrjala@linux.intel.com wrote:
> > From: Ville Syrjälä <ville.syrjala@linux.intel.com>
> >
> > Refactor the watermarks computation for one level to a separate
> > function. This function will now set the ->enable flat to true,
>
> s/flat/flag/
>
> Though I did think you meant a flatten value at one point.
>
> > even if the watermark level wasn't actually checked yet. In the
> > future we will delay the checking so we must consider all unchecked
> > watermarks as possibly valid.
> >
> > v2: Preserve comment about latency units
> >
> > Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
>
> I don't have the context here to confirm passing level to
> ilk_compute_pri_wm is exactly what you want, and it seems that level is
> implicitly greater than 0 in the original code.
>
> The transformation looks fine by itself. If you can calm my quirms over
> the value of level (in the changelog is fine),
Looks like Daniel already took this one. But yeah, I guess we should really
pass 'level > 0' to make it clearer that it's a boolean. If you recall I
had a patch in the original series to pass level all the way down, but I
dropped it since it didn't actually do any good.
As far as level=0, I didn't convert the hsw_compute_wm_pipe() to use the
new function. I could do that as a followup patch.
> Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
> -Chris
>
> --
> Chris Wilson, Intel Open Source Technology Centre
--
Ville Syrjälä
Intel OTC
next prev parent reply other threads:[~2013-08-07 9:57 UTC|newest]
Thread overview: 37+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-08-06 19:23 [PATCH 00/13] drm/i915: More ILK+ watermark prep patches ville.syrjala
2013-08-06 19:24 ` [PATCH 01/13] drm/i915: Use 'enabled' instead of 'enable' consistentnly in sprite WM code ville.syrjala
2013-08-06 19:36 ` Chris Wilson
2013-08-06 19:24 ` [PATCH 02/13] drm/i915: Pull watermark level validity check out ville.syrjala
2013-08-06 19:41 ` Chris Wilson
2013-08-07 10:24 ` [PATCH v2] " ville.syrjala
2013-08-08 8:59 ` Chris Wilson
2013-08-06 19:24 ` [PATCH 03/13] drm/i915: Split watermark level computation from the code ville.syrjala
2013-08-06 20:56 ` Chris Wilson
2013-08-07 9:56 ` Ville Syrjälä [this message]
2013-08-06 19:24 ` [PATCH 04/13] drm/i915: Kill fbc_enable from hsw_lp_wm_results ville.syrjala
2013-08-06 20:45 ` Chris Wilson
2013-08-07 9:57 ` Ville Syrjälä
2013-08-06 19:24 ` [PATCH 05/13] drm/i915: Rename hsw_data_buf_partitioning to intel_ddb_partitioning ville.syrjala
2013-08-06 20:31 ` Chris Wilson
2013-08-07 8:24 ` Daniel Vetter
2013-08-06 19:24 ` [PATCH 06/13] drm/i915: Rename hsw_lp_wm_result to intel_wm_level ville.syrjala
2013-08-06 20:14 ` Chris Wilson
2013-08-06 19:24 ` [PATCH 07/13] drm/i915: Calculate max watermark levels for ILK+ ville.syrjala
2013-08-06 20:39 ` Chris Wilson
2013-08-07 10:28 ` [PATCH v2] " ville.syrjala
2013-08-06 19:24 ` [PATCH 08/13] drm/i915; Pull some watermarks state into a separate structure ville.syrjala
2013-08-06 19:58 ` Chris Wilson
2013-08-07 10:29 ` [PATCH v2] drm/i915: " ville.syrjala
2013-08-06 19:24 ` [PATCH 09/13] drm/i915: Split plane watermark parameters into a separate struct ville.syrjala
2013-08-06 20:10 ` Chris Wilson
2013-08-07 10:29 ` [PATCH v2] " ville.syrjala
2013-08-06 19:24 ` [PATCH 10/13] drm/i915: Pass crtc to our update/disable_plane hooks ville.syrjala
2013-08-06 20:40 ` Chris Wilson
2013-08-06 19:24 ` [PATCH 11/13] drm/i915: Don't try to disable plane if it's already disabled ville.syrjala
2013-08-06 20:29 ` Chris Wilson
2013-08-07 10:30 ` [PATCH v2] " ville.syrjala
2013-08-06 19:24 ` [PATCH 12/13] drm/i915: Pass plane and crtc to intel_update_sprite_watermarks ville.syrjala
2013-08-06 20:25 ` Chris Wilson
2013-08-06 19:24 ` [PATCH 13/13] drm/i915: Always call intel_update_sprite_watermarks() when disabling a plane ville.syrjala
2013-08-06 20:06 ` Chris Wilson
2013-08-08 9:51 ` Daniel Vetter
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=20130807095648.GP5004@intel.com \
--to=ville.syrjala@linux.intel.com \
--cc=chris@chris-wilson.co.uk \
--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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.