<p dir="ltr">Ok, cool. I will probably be able to do that on monday.</p>
<p dir="ltr">Nils</p>
<div class="gmail_extra"><br><div class="gmail_quote">Den 15 juli 2016 11:06 em skrev "Alex Deucher" <<a href="mailto:alexdeucher@gmail.com">alexdeucher@gmail.com</a>>:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On Fri, Jul 15, 2016 at 4:09 PM, Nils Wallménius<br>
<<a href="mailto:nils.wallmenius@gmail.com">nils.wallmenius@gmail.com</a>> wrote:<br>
> Ping?<br>
<br>
We don't seem to be using them. Can you respin? It doesn't seem to<br>
apply any longer.<br>
<br>
Alex<br>
<br>
<br>
><br>
><br>
> Den 6 juni 2016 21:32 skrev "Nils Wallménius" <<a href="mailto:nils.wallmenius@gmail.com">nils.wallmenius@gmail.com</a>>:<br>
>><br>
>> Hi Alex,<br>
>><br>
>> Any response from the powerplay team?<br>
>><br>
>> If they are unresponsive, would you prefer to #IF 0 the code instead of<br>
>> deleting?<br>
>><br>
>> Regards<br>
>> Nils<br>
>><br>
>> On Mon, Apr 25, 2016 at 10:08 PM, Alex Deucher <<a href="mailto:alexdeucher@gmail.com">alexdeucher@gmail.com</a>><br>
>> wrote:<br>
>>><br>
>>> On Sun, Apr 24, 2016 at 7:22 AM, Nils Wallménius<br>
>>> <<a href="mailto:nils.wallmenius@gmail.com">nils.wallmenius@gmail.com</a>> wrote:<br>
>>> > Signed-off-by: Nils Wallménius <<a href="mailto:nils.wallmenius@gmail.com">nils.wallmenius@gmail.com</a>><br>
>>><br>
>>> Let me check with the powerplay team and make sure they are planning<br>
>>> to use these in the near future.<br>
>>><br>
>>> Alex<br>
>>><br>
>>><br>
>>> > ---<br>
>>> > drivers/gpu/drm/amd/powerplay/hwmgr/ppevvmath.h | 59<br>
>>> > +------------------------<br>
>>> > 1 file changed, 1 insertion(+), 58 deletions(-)<br>
>>> ><br>
>>> > diff --git a/drivers/gpu/drm/amd/powerplay/hwmgr/ppevvmath.h<br>
>>> > b/drivers/gpu/drm/amd/powerplay/hwmgr/ppevvmath.h<br>
>>> > index a9b40eb..8f50a03 100644<br>
>>> > --- a/drivers/gpu/drm/amd/powerplay/hwmgr/ppevvmath.h<br>
>>> > +++ b/drivers/gpu/drm/amd/powerplay/hwmgr/ppevvmath.h<br>
>>> > @@ -64,7 +64,6 @@ static fInt fGetSquare(fInt);<br>
>>> > /* Returns the square<br>
>>> > static fInt fSqrt(fInt); /* Returns<br>
>>> > the Square Root of a fInt number */<br>
>>> ><br>
>>> > static int uAbs(int); /* Returns<br>
>>> > the Absolute value of the Int */<br>
>>> > -static fInt fAbs(fInt); /* Returns<br>
>>> > the Absolute value of the fInt */<br>
>>> > static int uPow(int base, int exponent); /* Returns<br>
>>> > base^exponent an INT */<br>
>>> ><br>
>>> > static void SolveQuadracticEqn(fInt, fInt, fInt, fInt[]); /* Returns<br>
>>> > the 2 roots via the array */<br>
>>> > @@ -85,21 +84,12 @@ static fInt fDecodeLeakageID (uint32_t<br>
>>> > leakageID_fuse, fInt ln_max_div_min, fInt<br>
>>> > *<br>
>>> > -------------------------------------------------------------------------------------<br>
>>> > * Some of the following functions take two INTs as their input - This<br>
>>> > is unsafe for a variety of reasons.<br>
>>> > */<br>
>>> > -static fInt Add (int, int); /* Add two<br>
>>> > INTs and return Sum as FINT */<br>
>>> > -static fInt Multiply (int, int); /* Multiply<br>
>>> > two INTs and return Product as FINT */<br>
>>> > -static fInt Divide (int, int); /* You get<br>
>>> > the idea... */<br>
>>> > +static fInt Divide (int, int); /* Divide<br>
>>> > two INTs and return result as FINT */<br>
>>> > static fInt fNegate(fInt);<br>
>>> ><br>
>>> > static int uGetScaledDecimal (fInt); /* Internal<br>
>>> > function */<br>
>>> > static int GetReal (fInt A); /* Internal<br>
>>> > function */<br>
>>> ><br>
>>> > -/* Future Additions and Incomplete Functions<br>
>>> > - *<br>
>>> > -------------------------------------------------------------------------------------<br>
>>> > - */<br>
>>> > -static int GetRoundedValue(fInt); /*<br>
>>> > Incomplete function - Useful only when Precision is lacking */<br>
>>> > - /* Let us<br>
>>> > say we have 2.126 but can only handle 2 decimal points. We could */<br>
>>> > - /* either<br>
>>> > chop of 6 and keep 2.12 or use this function to get 2.13, which is more<br>
>>> > accurate */<br>
>>> > -<br>
>>> > /*<br>
>>> > -------------------------------------------------------------------------------------<br>
>>> > * TROUBLESHOOTING INFORMATION<br>
>>> > *<br>
>>> > -------------------------------------------------------------------------------------<br>
>>> > @@ -498,51 +488,12 @@ static void SolveQuadracticEqn(fInt A, fInt B,<br>
>>> > fInt C, fInt Roots[])<br>
>>> > *<br>
>>> > -----------------------------------------------------------------------------<br>
>>> > */<br>
>>> ><br>
>>> > -/* Addition using two normal ints - Temporary - Use only for testing<br>
>>> > purposes?. */<br>
>>> > -static fInt Add (int X, int Y)<br>
>>> > -{<br>
>>> > - fInt A, B, Sum;<br>
>>> > -<br>
>>> > - A.full = (X << SHIFT_AMOUNT);<br>
>>> > - B.full = (Y << SHIFT_AMOUNT);<br>
>>> > -<br>
>>> > - Sum.full = A.full + B.full;<br>
>>> > -<br>
>>> > - return Sum;<br>
>>> > -}<br>
>>> > -<br>
>>> > /* Conversion Functions */<br>
>>> > static int GetReal (fInt A)<br>
>>> > {<br>
>>> > return (A.full >> SHIFT_AMOUNT);<br>
>>> > }<br>
>>> ><br>
>>> > -/* Temporarily Disabled */<br>
>>> > -static int GetRoundedValue(fInt A) /*For now, round the 3rd decimal<br>
>>> > place */<br>
>>> > -{<br>
>>> > - /* ROUNDING TEMPORARLY DISABLED<br>
>>> > - int temp = A.full;<br>
>>> > - int decimal_cutoff, decimal_mask = 0x000001FF;<br>
>>> > - decimal_cutoff = temp & decimal_mask;<br>
>>> > - if (decimal_cutoff > 0x147) {<br>
>>> > - temp += 673;<br>
>>> > - }*/<br>
>>> > -<br>
>>> > - return ConvertBackToInteger(A)/10000; /*Temporary - in case<br>
>>> > this was used somewhere else */<br>
>>> > -}<br>
>>> > -<br>
>>> > -static fInt Multiply (int X, int Y)<br>
>>> > -{<br>
>>> > - fInt A, B, Product;<br>
>>> > -<br>
>>> > - A.full = X << SHIFT_AMOUNT;<br>
>>> > - B.full = Y << SHIFT_AMOUNT;<br>
>>> > -<br>
>>> > - Product = fMultiply(A, B);<br>
>>> > -<br>
>>> > - return Product;<br>
>>> > -}<br>
>>> > -<br>
>>> > static fInt Divide (int X, int Y)<br>
>>> > {<br>
>>> > fInt A, B, Quotient;<br>
>>> > @@ -578,14 +529,6 @@ static int uPow(int base, int power)<br>
>>> > return (base)*uPow(base, power - 1);<br>
>>> > }<br>
>>> ><br>
>>> > -static fInt fAbs(fInt A)<br>
>>> > -{<br>
>>> > - if (A.partial.real < 0)<br>
>>> > - return (fMultiply(A, ConvertToFraction(-1)));<br>
>>> > - else<br>
>>> > - return A;<br>
>>> > -}<br>
>>> > -<br>
>>> > static int uAbs(int X)<br>
>>> > {<br>
>>> > if (X < 0)<br>
>>> > --<br>
>>> > 2.8.0.rc3<br>
>>> ><br>
>>> > _______________________________________________<br>
>>> > dri-devel mailing list<br>
>>> > <a href="mailto:dri-devel@lists.freedesktop.org">dri-devel@lists.freedesktop.org</a><br>
>>> > <a href="https://lists.freedesktop.org/mailman/listinfo/dri-devel" rel="noreferrer" target="_blank">https://lists.freedesktop.org/mailman/listinfo/dri-devel</a><br>
>><br>
>><br>
><br>
</blockquote></div></div>