<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/include/drm/drm_fixed.h, branch v4.8</title>
<subtitle>Mirror of https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/
</subtitle>
<id>https://git.shady.money/linux/atom?h=v4.8</id>
<link rel='self' href='https://git.shady.money/linux/atom?h=v4.8'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/'/>
<updated>2016-02-05T05:23:48Z</updated>
<entry>
<title>drm: Add drm_fixp_from_fraction and drm_fixp2int_ceil</title>
<updated>2016-02-05T05:23:48Z</updated>
<author>
<name>Harry Wentland</name>
<email>harry.wentland@amd.com</email>
</author>
<published>2016-01-22T22:07:25Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=64566b5e767f9bc3161055ca1b443a51afb52aad'/>
<id>urn:sha1:64566b5e767f9bc3161055ca1b443a51afb52aad</id>
<content type='text'>
drm_fixp_from_fraction allows us to create a fixed point directly
from a fraction, rather than creating fixed point values and dividing
later. This avoids overflow of our 64 bit value for large numbers.

drm_fixp2int_ceil allows us to return the ceiling of our fixed point
value.

[airlied: squash Jordan's fix]
32-bit-build-fix: Jordan Lazare &lt;Jordan.Lazare@amd.com&gt;
Signed-off-by: Harry Wentland &lt;harry.wentland@amd.com&gt;
Cc: stable@vger.kernel.org
Reviewed-by: Alex Deucher &lt;alexander.deucher@amd.com&gt;
Signed-off-by: Dave Airlie &lt;airlied@redhat.com&gt;
</content>
</entry>
<entry>
<title>drm: fix 64 bit drm fixed point helpers</title>
<updated>2013-07-30T21:24:13Z</updated>
<author>
<name>Alex Deucher</name>
<email>alexander.deucher@amd.com</email>
</author>
<published>2013-07-30T20:43:55Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=a838834b2f7cbc09b6319a1fc332c03e4d665b20'/>
<id>urn:sha1:a838834b2f7cbc09b6319a1fc332c03e4d665b20</id>
<content type='text'>
Sign bit wasn't handled properly and a small typo.

Thanks to Christian for helping me sort this out.

Signed-off-by: Alex Deucher &lt;alexander.deucher@amd.com&gt;
</content>
</entry>
<entry>
<title>drm: add some additional fixed point helpers (v3)</title>
<updated>2013-06-27T23:16:37Z</updated>
<author>
<name>Alex Deucher</name>
<email>alexander.deucher@amd.com</email>
</author>
<published>2013-03-22T14:35:50Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=210a0b9e212370ed8c2784c2115e7ff4bb1259bd'/>
<id>urn:sha1:210a0b9e212370ed8c2784c2115e7ff4bb1259bd</id>
<content type='text'>
Required for certain driver calculations.  Code
was written by Christian König and ported to the
drm by me.

v2: fix 64 bit divides
v3: fix 64 bit for real (math64.h)

Signed-off-by: Alex Deucher &lt;alexander.deucher@amd.com&gt;
</content>
</entry>
<entry>
<title>drm: fixed: Add dfixed_frac</title>
<updated>2012-04-27T08:29:35Z</updated>
<author>
<name>Robert Morell</name>
<email>rmorell@nvidia.com</email>
</author>
<published>2012-04-25T09:45:01Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=f7f6c340f9d8f11bee50aef647b8578348957936'/>
<id>urn:sha1:f7f6c340f9d8f11bee50aef647b8578348957936</id>
<content type='text'>
This helper macro retrieves the fractional part of a fixed20_12 20.12
fixed-point number.

Signed-off-by: Robert Morell &lt;rmorell@nvidia.com&gt;
Signed-off-by: Olof Johansson &lt;olofj@chromium.org&gt;
Signed-off-by: Thierry Reding &lt;thierry.reding@avionic-design.de&gt;
Signed-off-by: Dave Airlie &lt;airlied@redhat.com&gt;
</content>
</entry>
<entry>
<title>drm: move radeon_fixed.h to shared drm_fixed.h header</title>
<updated>2010-05-18T08:21:33Z</updated>
<author>
<name>Ben Skeggs</name>
<email>bskeggs@redhat.com</email>
</author>
<published>2010-04-28T01:46:42Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=68adac5e49436992e9c999fbae879d9ac5b72d4e'/>
<id>urn:sha1:68adac5e49436992e9c999fbae879d9ac5b72d4e</id>
<content type='text'>
Will be used by nouveau driver also in the near future.

Signed-off-by: Ben Skeggs &lt;bskeggs@redhat.com&gt;
Signed-off-by: Dave Airlie &lt;airlied@redhat.com&gt;
</content>
</entry>
</feed>
