<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/drivers/gpu/host1x, branch v3.11</title>
<subtitle>Linux kernel source tree</subtitle>
<id>https://git.amat.us/linux/atom/drivers/gpu/host1x?h=v3.11</id>
<link rel='self' href='https://git.amat.us/linux/atom/drivers/gpu/host1x?h=v3.11'/>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/'/>
<updated>2013-06-22T10:43:55Z</updated>
<entry>
<title>gpu: host1x: Rework CPU syncpoint increment</title>
<updated>2013-06-22T10:43:55Z</updated>
<author>
<name>Arto Merilainen</name>
<email>amerilainen@nvidia.com</email>
</author>
<published>2013-05-29T10:26:08Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=ebae30b1fbcc2cc991ce705cc82e16d1e5ddbf51'/>
<id>urn:sha1:ebae30b1fbcc2cc991ce705cc82e16d1e5ddbf51</id>
<content type='text'>
This patch merges host1x_syncpt_cpu_incr to host1x_syncpt_incr() as
they are in practise doing the same thing. host1x_syncpt_incr() is
also modified to return error codes. User space interface is modified
accordingly to pass return values.

Signed-off-by: Arto Merilainen &lt;amerilainen@nvidia.com&gt;
Acked-By: Terje Bergstrom &lt;tbergstrom@nvidia.com&gt;
Signed-off-by: Thierry Reding &lt;thierry.reding@gmail.com&gt;
</content>
</entry>
<entry>
<title>gpu: host1x: Fix client_managed type</title>
<updated>2013-06-22T10:43:54Z</updated>
<author>
<name>Arto Merilainen</name>
<email>amerilainen@nvidia.com</email>
</author>
<published>2013-05-29T10:26:07Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=ece66891ff452d5643ac5a61649f632984d83c10'/>
<id>urn:sha1:ece66891ff452d5643ac5a61649f632984d83c10</id>
<content type='text'>
client_managed field in syncpoint structure was defined as an
integer. The field holds, however, only a boolean value. This patch
modifies the type to boolean.

Signed-off-by: Arto Merilainen &lt;amerilainen@nvidia.com&gt;
Acked-By: Terje Bergstrom &lt;tbergstrom@nvidia.com&gt;
Signed-off-by: Thierry Reding &lt;thierry.reding@gmail.com&gt;
</content>
</entry>
<entry>
<title>gpu: host1x: Fix memory access in syncpt request</title>
<updated>2013-06-22T10:43:54Z</updated>
<author>
<name>Arto Merilainen</name>
<email>amerilainen@nvidia.com</email>
</author>
<published>2013-05-29T10:26:06Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=edeabfcbc150a48e56dd411195ef812134983d6f'/>
<id>urn:sha1:edeabfcbc150a48e56dd411195ef812134983d6f</id>
<content type='text'>
This patch fixes a bad memory access in syncpoint request code. If
no syncpoints were available, the code accessed unreserved memory
area causing unexpected behaviour.

Signed-off-by: Arto Merilainen &lt;amerilainen@nvidia.com&gt;
Acked-By: Terje Bergstrom &lt;tbergstrom@nvidia.com&gt;
Signed-off-by: Thierry Reding &lt;thierry.reding@gmail.com&gt;
</content>
</entry>
<entry>
<title>gpu: host1x: Copy gathers before verification</title>
<updated>2013-06-22T10:43:53Z</updated>
<author>
<name>Arto Merilainen</name>
<email>amerilainen@nvidia.com</email>
</author>
<published>2013-05-29T10:26:05Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=3364cd28906d87f0c77754998679bb66639d4112'/>
<id>urn:sha1:3364cd28906d87f0c77754998679bb66639d4112</id>
<content type='text'>
The firewall verified gather buffers before copying them. This
allowed a malicious application to rewrite the buffer content by
timing the rewrite carefully.

This patch makes the buffer validation occur after copying the
buffers.

Signed-off-by: Arto Merilainen &lt;amerilainen@nvidia.com&gt;
Signed-off-by: Terje Bergstrom &lt;tbergstrom@nvidia.com&gt;
Signed-off-by: Thierry Reding &lt;thierry.reding@gmail.com&gt;
</content>
</entry>
<entry>
<title>gpu: host1x: Don't reset firewall between gathers</title>
<updated>2013-06-22T10:43:53Z</updated>
<author>
<name>Terje Bergstrom</name>
<email>tbergstrom@nvidia.com</email>
</author>
<published>2013-05-29T10:26:04Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=afac0e43c6c98473cce18fdeb5f7dda86dcf244f'/>
<id>urn:sha1:afac0e43c6c98473cce18fdeb5f7dda86dcf244f</id>
<content type='text'>
The firewall was reinitialised for each gather. Because the filter
was reinitialised, it did not track the class over gather boundaries.
This allowed the user application to set host1x class to one class
in one gather and use that class in another gather without firewall
having knowledge about that.

Signed-off-by: Terje Bergstrom &lt;tbergstrom@nvidia.com&gt;
Signed-off-by: Arto Merilainen &lt;amerilainen@nvidia.com&gt;
Signed-off-by: Thierry Reding &lt;thierry.reding@gmail.com&gt;
</content>
</entry>
<entry>
<title>gpu: host1x: Check reloc table before usage</title>
<updated>2013-06-22T10:43:52Z</updated>
<author>
<name>Arto Merilainen</name>
<email>amerilainen@nvidia.com</email>
</author>
<published>2013-05-29T10:26:03Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=5060d8ec7cfc29dd399b4fe952ba96e7a88aa778'/>
<id>urn:sha1:5060d8ec7cfc29dd399b4fe952ba96e7a88aa778</id>
<content type='text'>
The firewall assumed that the user space always delivers a relocation
table when it is accessing address registers. If userspace did not
deliver a relocation table and tried to access the address registers,
the code performed bad memory accesses.

This patch modifies the firewall to check correctly that the firewall
table is available before accessing it. In addition, check_reloc() is
converted to use boolean return value (true when the reloc is valid,
false when invalid).

Signed-off-by: Arto Merilainen &lt;amerilainen@nvidia.com&gt;
Acked-By: Terje Bergstrom &lt;tbergstrom@nvidia.com&gt;
Signed-off-by: Thierry Reding &lt;thierry.reding@gmail.com&gt;
</content>
</entry>
<entry>
<title>gpu: host1x: Check INCR opcode correctly</title>
<updated>2013-06-22T10:43:52Z</updated>
<author>
<name>Terje Bergstrom</name>
<email>tbergstrom@nvidia.com</email>
</author>
<published>2013-05-29T10:26:02Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=64c173d3a2bb367c901f1f0a66c1d4e338d8cb2c'/>
<id>urn:sha1:64c173d3a2bb367c901f1f0a66c1d4e338d8cb2c</id>
<content type='text'>
The firewall code used a wrong loop condition (pointer to a
structure) while checking INCR opcode. This patch fixes the code to
use correct loop condition (number of words remaining).

Signed-off-by: Terje Bergstrom &lt;tbergstrom@nvidia.com&gt;
Signed-off-by: Arto Merilainen &lt;amerilainen@nvidia.com&gt;
Signed-off-by: Thierry Reding &lt;thierry.reding@gmail.com&gt;
</content>
</entry>
<entry>
<title>drm/tegra: Remove DRIVER_BUS_PLATFORM from driver_features</title>
<updated>2013-06-22T10:43:51Z</updated>
<author>
<name>Laurent Pinchart</name>
<email>laurent.pinchart@ideasonboard.com</email>
</author>
<published>2013-05-29T05:44:34Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=604faa7dcf772ea4d13f89f0c3cc642b15cc4f45'/>
<id>urn:sha1:604faa7dcf772ea4d13f89f0c3cc642b15cc4f45</id>
<content type='text'>
DRIVER_BUS_PLATFORM is not a DRM driver feature flag, it must not be set
in the driver's driver_features field.

Signed-off-by: Laurent Pinchart &lt;laurent.pinchart@ideasonboard.com&gt;
Signed-off-by: Thierry Reding &lt;thierry.reding@gmail.com&gt;
</content>
</entry>
<entry>
<title>drm/tegra: Fix return value</title>
<updated>2013-06-22T10:43:51Z</updated>
<author>
<name>Thierry Reding</name>
<email>thierry.reding@gmail.com</email>
</author>
<published>2013-05-19T12:21:22Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=dc618db75df9b930293786b4dc763fb5ea7bed15'/>
<id>urn:sha1:dc618db75df9b930293786b4dc763fb5ea7bed15</id>
<content type='text'>
Return NULL instead of 0 in host1x_bo_lookup().

Signed-off-by: Thierry Reding &lt;thierry.reding@gmail.com&gt;
</content>
</entry>
<entry>
<title>drm/tegra: fix error return code in gr2d_submit()</title>
<updated>2013-05-25T10:32:51Z</updated>
<author>
<name>Wei Yongjun</name>
<email>yongjun_wei@trendmicro.com.cn</email>
</author>
<published>2013-04-24T06:50:51Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=2639f2bf68e4c1bafafc0feca3e16cdad2333a82'/>
<id>urn:sha1:2639f2bf68e4c1bafafc0feca3e16cdad2333a82</id>
<content type='text'>
Fix to return -ENOENT in the host1x_bo lookup error handling
case instead of 0, as done elsewhere in this function.

Signed-off-by: Wei Yongjun &lt;yongjun_wei@trendmicro.com.cn&gt;
Signed-off-by: Thierry Reding &lt;thierry.reding@avionic-design.de&gt;
</content>
</entry>
</feed>
