<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux-toradex.git/tools/testing/selftests/dmabuf-heaps, branch v5.11-rc2</title>
<subtitle>Linux kernel for Apalis and Colibri modules</subtitle>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/'/>
<entry>
<title>kselftests: dmabuf-heaps: Fix confused return value on expected error testing</title>
<updated>2020-05-08T15:40:58+00:00</updated>
<author>
<name>John Stultz</name>
<email>john.stultz@linaro.org</email>
</author>
<published>2020-05-08T04:56:10+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=4bb9d46d47b105a774f9dca642f5271375bca4b2'/>
<id>4bb9d46d47b105a774f9dca642f5271375bca4b2</id>
<content type='text'>
When I added the expected error testing, I forgot I need to set
the return to zero when we successfully see an error.

Without this change we only end up testing a single heap
before the test quits.

Cc: Shuah Khan &lt;shuah@kernel.org&gt;
Cc: Sumit Semwal &lt;sumit.semwal@linaro.org&gt;
Cc: Benjamin Gaignard &lt;benjamin.gaignard@linaro.org&gt;
Cc: Brian Starkey &lt;brian.starkey@arm.com&gt;
Cc: Laura Abbott &lt;labbott@redhat.com&gt;
Cc: "Andrew F. Davis" &lt;afd@ti.com&gt;
Cc: linux-kselftest@vger.kernel.org
Signed-off-by: John Stultz &lt;john.stultz@linaro.org&gt;
Signed-off-by: Shuah Khan &lt;skhan@linuxfoundation.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
When I added the expected error testing, I forgot I need to set
the return to zero when we successfully see an error.

Without this change we only end up testing a single heap
before the test quits.

Cc: Shuah Khan &lt;shuah@kernel.org&gt;
Cc: Sumit Semwal &lt;sumit.semwal@linaro.org&gt;
Cc: Benjamin Gaignard &lt;benjamin.gaignard@linaro.org&gt;
Cc: Brian Starkey &lt;brian.starkey@arm.com&gt;
Cc: Laura Abbott &lt;labbott@redhat.com&gt;
Cc: "Andrew F. Davis" &lt;afd@ti.com&gt;
Cc: linux-kselftest@vger.kernel.org
Signed-off-by: John Stultz &lt;john.stultz@linaro.org&gt;
Signed-off-by: Shuah Khan &lt;skhan@linuxfoundation.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>dma-buf: heaps: Use _IOCTL_ for userspace IOCTL identifier</title>
<updated>2019-12-17T16:07:40+00:00</updated>
<author>
<name>Andrew F. Davis</name>
<email>afd@ti.com</email>
</author>
<published>2019-12-16T13:34:04+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=b3b4346544b571c96d46be615b9db69a601ce4c8'/>
<id>b3b4346544b571c96d46be615b9db69a601ce4c8</id>
<content type='text'>
This is more consistent with the DMA and DRM frameworks convention. This
patch is only a name change, no logic is changed.

Signed-off-by: Andrew F. Davis &lt;afd@ti.com&gt;
Acked-by: John Stultz &lt;john.stultz@linaro.org&gt;
Signed-off-by: Sumit Semwal &lt;sumit.semwal@linaro.org&gt;
Link: https://patchwork.freedesktop.org/patch/msgid/20191216133405.1001-2-afd@ti.com
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This is more consistent with the DMA and DRM frameworks convention. This
patch is only a name change, no logic is changed.

Signed-off-by: Andrew F. Davis &lt;afd@ti.com&gt;
Acked-by: John Stultz &lt;john.stultz@linaro.org&gt;
Signed-off-by: Sumit Semwal &lt;sumit.semwal@linaro.org&gt;
Link: https://patchwork.freedesktop.org/patch/msgid/20191216133405.1001-2-afd@ti.com
</pre>
</div>
</content>
</entry>
<entry>
<title>kselftests: Add dma-heap test</title>
<updated>2019-12-11T05:43:38+00:00</updated>
<author>
<name>John Stultz</name>
<email>john.stultz@linaro.org</email>
</author>
<published>2019-12-03T17:26:41+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=a8779927fd86c91f5400bfcbccfa018a667d8350'/>
<id>a8779927fd86c91f5400bfcbccfa018a667d8350</id>
<content type='text'>
Add very trivial allocation and import test for dma-heaps,
utilizing the vgem driver as a test importer.

A good chunk of this code taken from:
  tools/testing/selftests/android/ion/ionmap_test.c
  Originally by Laura Abbott &lt;labbott@redhat.com&gt;

Cc: Benjamin Gaignard &lt;benjamin.gaignard@linaro.org&gt;
Cc: Sumit Semwal &lt;sumit.semwal@linaro.org&gt;
Cc: Liam Mark &lt;lmark@codeaurora.org&gt;
Cc: Pratik Patel &lt;pratikp@codeaurora.org&gt;
Cc: Brian Starkey &lt;Brian.Starkey@arm.com&gt;
Cc: Vincent Donnefort &lt;Vincent.Donnefort@arm.com&gt;
Cc: Sudipto Paul &lt;Sudipto.Paul@arm.com&gt;
Cc: Andrew F. Davis &lt;afd@ti.com&gt;
Cc: Christoph Hellwig &lt;hch@infradead.org&gt;
Cc: Chenbo Feng &lt;fengc@google.com&gt;
Cc: Alistair Strachan &lt;astrachan@google.com&gt;
Cc: Hridya Valsaraju &lt;hridya@google.com&gt;
Cc: Sandeep Patil &lt;sspatil@google.com&gt;
Cc: Hillf Danton &lt;hdanton@sina.com&gt;
Cc: Dave Airlie &lt;airlied@gmail.com&gt;
Cc: dri-devel@lists.freedesktop.org
Reviewed-by: Benjamin Gaignard &lt;benjamin.gaignard@linaro.org&gt;
Reviewed-by: Brian Starkey &lt;brian.starkey@arm.com&gt;
Acked-by: Sandeep Patil &lt;sspatil@android.com&gt;
Acked-by: Laura Abbott &lt;labbott@redhat.com&gt;
Tested-by: Ayan Kumar Halder &lt;ayan.halder@arm.com&gt;
Signed-off-by: John Stultz &lt;john.stultz@linaro.org&gt;
Signed-off-by: Sumit Semwal &lt;sumit.semwal@linaro.org&gt;
Link: https://patchwork.freedesktop.org/patch/msgid/20191203172641.66642-6-john.stultz@linaro.org
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Add very trivial allocation and import test for dma-heaps,
utilizing the vgem driver as a test importer.

A good chunk of this code taken from:
  tools/testing/selftests/android/ion/ionmap_test.c
  Originally by Laura Abbott &lt;labbott@redhat.com&gt;

Cc: Benjamin Gaignard &lt;benjamin.gaignard@linaro.org&gt;
Cc: Sumit Semwal &lt;sumit.semwal@linaro.org&gt;
Cc: Liam Mark &lt;lmark@codeaurora.org&gt;
Cc: Pratik Patel &lt;pratikp@codeaurora.org&gt;
Cc: Brian Starkey &lt;Brian.Starkey@arm.com&gt;
Cc: Vincent Donnefort &lt;Vincent.Donnefort@arm.com&gt;
Cc: Sudipto Paul &lt;Sudipto.Paul@arm.com&gt;
Cc: Andrew F. Davis &lt;afd@ti.com&gt;
Cc: Christoph Hellwig &lt;hch@infradead.org&gt;
Cc: Chenbo Feng &lt;fengc@google.com&gt;
Cc: Alistair Strachan &lt;astrachan@google.com&gt;
Cc: Hridya Valsaraju &lt;hridya@google.com&gt;
Cc: Sandeep Patil &lt;sspatil@google.com&gt;
Cc: Hillf Danton &lt;hdanton@sina.com&gt;
Cc: Dave Airlie &lt;airlied@gmail.com&gt;
Cc: dri-devel@lists.freedesktop.org
Reviewed-by: Benjamin Gaignard &lt;benjamin.gaignard@linaro.org&gt;
Reviewed-by: Brian Starkey &lt;brian.starkey@arm.com&gt;
Acked-by: Sandeep Patil &lt;sspatil@android.com&gt;
Acked-by: Laura Abbott &lt;labbott@redhat.com&gt;
Tested-by: Ayan Kumar Halder &lt;ayan.halder@arm.com&gt;
Signed-off-by: John Stultz &lt;john.stultz@linaro.org&gt;
Signed-off-by: Sumit Semwal &lt;sumit.semwal@linaro.org&gt;
Link: https://patchwork.freedesktop.org/patch/msgid/20191203172641.66642-6-john.stultz@linaro.org
</pre>
</div>
</content>
</entry>
<entry>
<title>Revert "kselftests: Add dma-heap test"</title>
<updated>2019-10-30T20:40:13+00:00</updated>
<author>
<name>Sean Paul</name>
<email>seanpaul@chromium.org</email>
</author>
<published>2019-10-30T20:29:50+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=a262ef04364250ac37232349cf9ef33915411b35'/>
<id>a262ef04364250ac37232349cf9ef33915411b35</id>
<content type='text'>
This reverts commit ab87cc9754cdeb373c8ac030ac7aed92f450b767.

This patchset doesn't meet the UAPI requirements set out in [1] for the DRM
subsystem. Once the userspace component is reviewed and ready for merge
we can try again.

[1]- https://01.org/linuxgraphics/gfx-docs/drm/gpu/drm-uapi.html#open-source-userspace-requirements

Fixes: ab87cc9754cd ("kselftests: Add dma-heap test")
Cc: Benjamin Gaignard &lt;benjamin.gaignard@linaro.org&gt;
Cc: Sumit Semwal &lt;sumit.semwal@linaro.org&gt;
Cc: Liam Mark &lt;lmark@codeaurora.org&gt;
Cc: Pratik Patel &lt;pratikp@codeaurora.org&gt;
Cc: Brian Starkey &lt;Brian.Starkey@arm.com&gt;
Cc: Vincent Donnefort &lt;Vincent.Donnefort@arm.com&gt;
Cc: Sudipto Paul &lt;Sudipto.Paul@arm.com&gt;
Cc: Andrew F. Davis &lt;afd@ti.com&gt;
Cc: Christoph Hellwig &lt;hch@infradead.org&gt;
Cc: Chenbo Feng &lt;fengc@google.com&gt;
Cc: Alistair Strachan &lt;astrachan@google.com&gt;
Cc: Hridya Valsaraju &lt;hridya@google.com&gt;
Cc: Hillf Danton &lt;hdanton@sina.com&gt;
Cc: dri-devel@lists.freedesktop.org
Cc: Brian Starkey &lt;brian.starkey@arm.com&gt;
Cc: Laura Abbott &lt;labbott@redhat.com&gt;
Cc: John Stultz &lt;john.stultz@linaro.org&gt;
Cc: Sean Paul &lt;seanpaul@chromium.org&gt;
Acked-by: David Airlie &lt;airlied@linux.ie&gt;
Signed-off-by: Sean Paul &lt;sean@poorly.run&gt;
Link: https://patchwork.freedesktop.org/patch/msgid/20191030203003.101156-2-sean@poorly.run
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This reverts commit ab87cc9754cdeb373c8ac030ac7aed92f450b767.

This patchset doesn't meet the UAPI requirements set out in [1] for the DRM
subsystem. Once the userspace component is reviewed and ready for merge
we can try again.

[1]- https://01.org/linuxgraphics/gfx-docs/drm/gpu/drm-uapi.html#open-source-userspace-requirements

Fixes: ab87cc9754cd ("kselftests: Add dma-heap test")
Cc: Benjamin Gaignard &lt;benjamin.gaignard@linaro.org&gt;
Cc: Sumit Semwal &lt;sumit.semwal@linaro.org&gt;
Cc: Liam Mark &lt;lmark@codeaurora.org&gt;
Cc: Pratik Patel &lt;pratikp@codeaurora.org&gt;
Cc: Brian Starkey &lt;Brian.Starkey@arm.com&gt;
Cc: Vincent Donnefort &lt;Vincent.Donnefort@arm.com&gt;
Cc: Sudipto Paul &lt;Sudipto.Paul@arm.com&gt;
Cc: Andrew F. Davis &lt;afd@ti.com&gt;
Cc: Christoph Hellwig &lt;hch@infradead.org&gt;
Cc: Chenbo Feng &lt;fengc@google.com&gt;
Cc: Alistair Strachan &lt;astrachan@google.com&gt;
Cc: Hridya Valsaraju &lt;hridya@google.com&gt;
Cc: Hillf Danton &lt;hdanton@sina.com&gt;
Cc: dri-devel@lists.freedesktop.org
Cc: Brian Starkey &lt;brian.starkey@arm.com&gt;
Cc: Laura Abbott &lt;labbott@redhat.com&gt;
Cc: John Stultz &lt;john.stultz@linaro.org&gt;
Cc: Sean Paul &lt;seanpaul@chromium.org&gt;
Acked-by: David Airlie &lt;airlied@linux.ie&gt;
Signed-off-by: Sean Paul &lt;sean@poorly.run&gt;
Link: https://patchwork.freedesktop.org/patch/msgid/20191030203003.101156-2-sean@poorly.run
</pre>
</div>
</content>
</entry>
<entry>
<title>kselftests: Add dma-heap test</title>
<updated>2019-10-25T11:31:50+00:00</updated>
<author>
<name>John Stultz</name>
<email>john.stultz@linaro.org</email>
</author>
<published>2019-10-21T19:03:10+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=ab87cc9754cdeb373c8ac030ac7aed92f450b767'/>
<id>ab87cc9754cdeb373c8ac030ac7aed92f450b767</id>
<content type='text'>
Add very trivial allocation and import test for dma-heaps,
utilizing the vgem driver as a test importer.

A good chunk of this code taken from:
  tools/testing/selftests/android/ion/ionmap_test.c
  Originally by Laura Abbott &lt;labbott@redhat.com&gt;

Cc: Benjamin Gaignard &lt;benjamin.gaignard@linaro.org&gt;
Cc: Sumit Semwal &lt;sumit.semwal@linaro.org&gt;
Cc: Liam Mark &lt;lmark@codeaurora.org&gt;
Cc: Pratik Patel &lt;pratikp@codeaurora.org&gt;
Cc: Brian Starkey &lt;Brian.Starkey@arm.com&gt;
Cc: Vincent Donnefort &lt;Vincent.Donnefort@arm.com&gt;
Cc: Sudipto Paul &lt;Sudipto.Paul@arm.com&gt;
Cc: Andrew F. Davis &lt;afd@ti.com&gt;
Cc: Christoph Hellwig &lt;hch@infradead.org&gt;
Cc: Chenbo Feng &lt;fengc@google.com&gt;
Cc: Alistair Strachan &lt;astrachan@google.com&gt;
Cc: Hridya Valsaraju &lt;hridya@google.com&gt;
Cc: Hillf Danton &lt;hdanton@sina.com&gt;
Cc: dri-devel@lists.freedesktop.org
Reviewed-by: Benjamin Gaignard &lt;benjamin.gaignard@linaro.org&gt;
Reviewed-by: Brian Starkey &lt;brian.starkey@arm.com&gt;
Acked-by: Laura Abbott &lt;labbott@redhat.com&gt;
Tested-by: Ayan Kumar Halder &lt;ayan.halder@arm.com&gt;
Signed-off-by: John Stultz &lt;john.stultz@linaro.org&gt;
Signed-off-by: Sumit Semwal &lt;sumit.semwal@linaro.org&gt;
Link: https://patchwork.freedesktop.org/patch/msgid/20191021190310.85221-6-john.stultz@linaro.org
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Add very trivial allocation and import test for dma-heaps,
utilizing the vgem driver as a test importer.

A good chunk of this code taken from:
  tools/testing/selftests/android/ion/ionmap_test.c
  Originally by Laura Abbott &lt;labbott@redhat.com&gt;

Cc: Benjamin Gaignard &lt;benjamin.gaignard@linaro.org&gt;
Cc: Sumit Semwal &lt;sumit.semwal@linaro.org&gt;
Cc: Liam Mark &lt;lmark@codeaurora.org&gt;
Cc: Pratik Patel &lt;pratikp@codeaurora.org&gt;
Cc: Brian Starkey &lt;Brian.Starkey@arm.com&gt;
Cc: Vincent Donnefort &lt;Vincent.Donnefort@arm.com&gt;
Cc: Sudipto Paul &lt;Sudipto.Paul@arm.com&gt;
Cc: Andrew F. Davis &lt;afd@ti.com&gt;
Cc: Christoph Hellwig &lt;hch@infradead.org&gt;
Cc: Chenbo Feng &lt;fengc@google.com&gt;
Cc: Alistair Strachan &lt;astrachan@google.com&gt;
Cc: Hridya Valsaraju &lt;hridya@google.com&gt;
Cc: Hillf Danton &lt;hdanton@sina.com&gt;
Cc: dri-devel@lists.freedesktop.org
Reviewed-by: Benjamin Gaignard &lt;benjamin.gaignard@linaro.org&gt;
Reviewed-by: Brian Starkey &lt;brian.starkey@arm.com&gt;
Acked-by: Laura Abbott &lt;labbott@redhat.com&gt;
Tested-by: Ayan Kumar Halder &lt;ayan.halder@arm.com&gt;
Signed-off-by: John Stultz &lt;john.stultz@linaro.org&gt;
Signed-off-by: Sumit Semwal &lt;sumit.semwal@linaro.org&gt;
Link: https://patchwork.freedesktop.org/patch/msgid/20191021190310.85221-6-john.stultz@linaro.org
</pre>
</div>
</content>
</entry>
</feed>
