[Mesa-dev] [PATCH 2/4] i965: Use a better guardband calculation.

Jason Ekstrand jason at jlekstrand.net
Mon Jan 23 17:13:38 UTC 2017


On Mon, Jan 23, 2017 at 4:59 AM, Ilia Mirkin <imirkin at alum.mit.edu> wrote:

> On Mon, Jan 23, 2017 at 1:42 AM, Kenneth Graunke <kenneth at whitecape.org>
> wrote:
> > +      *ymin = MIN2(ndc_gb_ymin, ndc_gb_ymax);
>
> Should this be limited on the negative end of the range?
>
> > +      *ymax = MIN2(MAX2(ndc_gb_ymin, ndc_gb_ymax), 16383);
>
> And should this be a different value for gen6? Perhaps based on gb_size?
>

I don't think so.  It's a limit on some hardware for unknown reasons.  That
said, Ken, it would be really nice to get an actual PRM citation because I
can't find it anywhere.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20170123/cc94c355/attachment.html>


More information about the mesa-dev mailing list