public inbox for intel-gfx@lists.freedesktop.org
 help / color / mirror / Atom feed
From: Zhenyu Wang <zhenyuw@linux.intel.com>
To: "Ville Syrjälä" <ville.syrjala@linux.intel.com>
Cc: intel-gfx@lists.freedesktop.org
Subject: Re: [PATCH] drm/i915: Fix drain latency precision multipler for VLV
Date: Thu, 6 Mar 2014 10:05:08 +0800	[thread overview]
Message-ID: <20140306020508.GO2692@zhen-hp.sh.intel.com> (raw)
In-Reply-To: <20140305165148.GT3852@intel.com>


[-- Attachment #1.1: Type: text/plain, Size: 992 bytes --]

On 2014.03.05 18:51:48 +0200, Ville Syrjälä wrote:
> >  	entries = (clock / 1000) * pixel_size;
> >  	*plane_prec_mult = (entries > 256) ?
> 
> The threshold should also be reduced to 128 entries.
> 

hmm, I'll double check if this is really required or not.

> > -		DRAIN_LATENCY_PRECISION_32 : DRAIN_LATENCY_PRECISION_16;
> > +		DRAIN_LATENCY_PRECISION_64 : DRAIN_LATENCY_PRECISION_32;
> >  	*plane_dl = (64 * (*plane_prec_mult) * 4) / ((clock / 1000) *
> >  						     pixel_size);
>                                                     ^^^^^^^^^^^^^^^^^
> Maybe replace the divisor here w/ just 'entrie' since it's same thing.
> Makes it a bit easier to see the relationship between this and the way
> the precision is selected.
> 

yeah, but that might be another seperate patch besides the precision
multipler this one trys to fix.

Thanks for review this.

-- 
Open Source Technology Center, Intel ltd.

$gpg --keyserver wwwkeys.pgp.net --recv-keys 4D781827

[-- Attachment #1.2: Digital signature --]
[-- Type: application/pgp-signature, Size: 181 bytes --]

[-- Attachment #2: Type: text/plain, Size: 159 bytes --]

_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/intel-gfx

      reply	other threads:[~2014-03-06  2:05 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-02-27 22:50 [PATCH] drm/i915: Fix drain latency precision multipler for VLV Zhenyu Wang
2014-03-05 16:51 ` Ville Syrjälä
2014-03-06  2:05   ` Zhenyu Wang [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=20140306020508.GO2692@zhen-hp.sh.intel.com \
    --to=zhenyuw@linux.intel.com \
    --cc=intel-gfx@lists.freedesktop.org \
    --cc=ville.syrjala@linux.intel.com \
    /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