<feed xmlns='http://www.w3.org/2005/Atom'>
<title>talos-op-linux/drivers/gpu/drm/qxl, branch master</title>
<subtitle>Talos™ II Linux sources for OpenPOWER</subtitle>
<id>https://git.raptorcs.com/git/talos-op-linux/atom?h=master</id>
<link rel='self' href='https://git.raptorcs.com/git/talos-op-linux/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/talos-op-linux/'/>
<updated>2019-11-29T12:09:11+00:00</updated>
<entry>
<title>drm/qxl: Complete exception handling in qxl_device_init()</title>
<updated>2019-11-29T12:09:11+00:00</updated>
<author>
<name>Markus Elfring</name>
<email>elfring@users.sourceforge.net</email>
</author>
<published>2019-11-07T17:05:08+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/talos-op-linux/commit/?id=dbe3ad61dcebc49fe3efca70a0f752a95b4600f2'/>
<id>urn:sha1:dbe3ad61dcebc49fe3efca70a0f752a95b4600f2</id>
<content type='text'>
A coccicheck run provided information like the following.

drivers/gpu/drm/qxl/qxl_kms.c:295:1-7: ERROR: missing iounmap;
ioremap on line 178 and execution via conditional on line 185

Generated by: scripts/coccinelle/free/iounmap.cocci

A jump target was specified in an if branch. The corresponding function
call did not release the desired system resource then.
Thus use the label “rom_unmap” instead to fix the exception handling
for this function implementation.

Fixes: 5043348a4969ae1661c008efe929abd0d76e3792 ("drm: qxl: Fix error handling at qxl_device_init")
Signed-off-by: Markus Elfring &lt;elfring@users.sourceforge.net&gt;
Link: http://patchwork.freedesktop.org/patch/msgid/5e5ef9c4-4d85-3c93-cf28-42cfcb5b0649@web.de
Signed-off-by: Gerd Hoffmann &lt;kraxel@redhat.com&gt;
</content>
</entry>
<entry>
<title>drm/qxl: stop using TTM to call driver internal functions</title>
<updated>2019-10-25T09:40:51+00:00</updated>
<author>
<name>Christian König</name>
<email>christian.koenig@amd.com</email>
</author>
<published>2019-09-27T13:06:22+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/talos-op-linux/commit/?id=51ea742c87f3c6537a0df0f79f5da7bce4d8a40a'/>
<id>urn:sha1:51ea742c87f3c6537a0df0f79f5da7bce4d8a40a</id>
<content type='text'>
The ttm_mem_io_* functions were intended to be internal to TTM and
shouldn't have been used in a driver. They were exported in commit
afe6804c045fbd69a1b75c681107b5d6df9190de just for QXL.

Instead call the qxl_ttm_io_mem_reserve() function directly and
completely drop the free call since that is a dummy on QXL.

Signed-off-by: Christian König &lt;christian.koenig@amd.com&gt;
Reviewed-by: Gerd Hoffmann &lt;kraxel@redhat.com&gt;
Link: https://patchwork.freedesktop.org/patch/333289/
</content>
</entry>
<entry>
<title>drm/ttm: remove pointers to globals</title>
<updated>2019-10-25T09:40:51+00:00</updated>
<author>
<name>Christian König</name>
<email>christian.koenig@amd.com</email>
</author>
<published>2019-09-25T09:38:50+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/talos-op-linux/commit/?id=97588b5b9a6b330dc2e3fbf3dea987e37d30194e'/>
<id>urn:sha1:97588b5b9a6b330dc2e3fbf3dea987e37d30194e</id>
<content type='text'>
As the name says global memory and bo accounting is global. So it doesn't
make to much sense having pointers to global structures all around the code.

Signed-off-by: Christian König &lt;christian.koenig@amd.com&gt;
Reviewed-by: Thomas Hellström &lt;thellstrom@vmware.com&gt;
Link: https://patchwork.freedesktop.org/patch/332879/
</content>
</entry>
<entry>
<title>drm/ttm: always keep BOs on the LRU</title>
<updated>2019-10-25T09:40:50+00:00</updated>
<author>
<name>Christian König</name>
<email>christian.koenig@amd.com</email>
</author>
<published>2019-09-19T10:56:15+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/talos-op-linux/commit/?id=9165fb879f62a73577867180e890f410f3a239ad'/>
<id>urn:sha1:9165fb879f62a73577867180e890f410f3a239ad</id>
<content type='text'>
This allows blocking for BOs to become available
in the memory management.

Amdgpu is doing this for quite a while now during CS. Now
apply the new behavior to all drivers using TTM.

Signed-off-by: Christian König &lt;christian.koenig@amd.com&gt;
Acked-by: Thomas Hellstrom &lt;thellstrom@vmware.com&gt;
Link: https://patchwork.freedesktop.org/patch/332878/
</content>
</entry>
<entry>
<title>drm/qxl: allocate small objects top-down</title>
<updated>2019-10-22T09:34:03+00:00</updated>
<author>
<name>Gerd Hoffmann</name>
<email>kraxel@redhat.com</email>
</author>
<published>2019-10-17T13:26:38+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/talos-op-linux/commit/?id=8ee2f956c918e2de0ee85f01b94d1e0ff31b19b8'/>
<id>urn:sha1:8ee2f956c918e2de0ee85f01b94d1e0ff31b19b8</id>
<content type='text'>
qxl uses small buffer objects for qxl commands.
Allocate them top-down to reduce fragmentation.

Signed-off-by: Gerd Hoffmann &lt;kraxel@redhat.com&gt;
Reviewed-by: Daniel Vetter &lt;daniel.vetter@ffwll.ch&gt;
Link: http://patchwork.freedesktop.org/patch/msgid/20191017132638.9693-6-kraxel@redhat.com
</content>
</entry>
<entry>
<title>drm/qxl: use DEFINE_DRM_GEM_FOPS()</title>
<updated>2019-10-22T09:34:02+00:00</updated>
<author>
<name>Gerd Hoffmann</name>
<email>kraxel@redhat.com</email>
</author>
<published>2019-10-17T13:26:37+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/talos-op-linux/commit/?id=db262087833f5b750d38b1423ab61e08c1a16947'/>
<id>urn:sha1:db262087833f5b750d38b1423ab61e08c1a16947</id>
<content type='text'>
We have no qxl-specific fops any more.

Signed-off-by: Gerd Hoffmann &lt;kraxel@redhat.com&gt;
Reviewed-by: Daniel Vetter &lt;daniel.vetter@ffwll.ch&gt;
Link: http://patchwork.freedesktop.org/patch/msgid/20191017132638.9693-5-kraxel@redhat.com
</content>
</entry>
<entry>
<title>drm/qxl: drop verify_access</title>
<updated>2019-10-22T09:34:02+00:00</updated>
<author>
<name>Gerd Hoffmann</name>
<email>kraxel@redhat.com</email>
</author>
<published>2019-10-17T13:26:36+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/talos-op-linux/commit/?id=de7f7c472429a8ff3b042dfff78dd8a7de808680'/>
<id>urn:sha1:de7f7c472429a8ff3b042dfff78dd8a7de808680</id>
<content type='text'>
Not needed any more.

Signed-off-by: Gerd Hoffmann &lt;kraxel@redhat.com&gt;
Reviewed-by: Daniel Vetter &lt;daniel.vetter@ffwll.ch&gt;
Link: http://patchwork.freedesktop.org/patch/msgid/20191017132638.9693-4-kraxel@redhat.com
</content>
</entry>
<entry>
<title>drm/qxl: switch qxl to &amp;drm_gem_object_funcs.mmap</title>
<updated>2019-10-22T09:34:02+00:00</updated>
<author>
<name>Gerd Hoffmann</name>
<email>kraxel@redhat.com</email>
</author>
<published>2019-10-17T13:26:35+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/talos-op-linux/commit/?id=60f57220cd3c2f35866904a7eea6b03c8ee5a743'/>
<id>urn:sha1:60f57220cd3c2f35866904a7eea6b03c8ee5a743</id>
<content type='text'>
Wire up the new drm_gem_ttm_mmap() helper function.
Use generic drm_gem_mmap() and remove qxl_mmap().

Signed-off-by: Gerd Hoffmann &lt;kraxel@redhat.com&gt;
Reviewed-by: Daniel Vetter &lt;daniel.vetter@ffwll.ch&gt;
Link: http://patchwork.freedesktop.org/patch/msgid/20191017132638.9693-3-kraxel@redhat.com
</content>
</entry>
<entry>
<title>drm/qxl: drop qxl_ttm_fault</title>
<updated>2019-10-22T09:34:02+00:00</updated>
<author>
<name>Gerd Hoffmann</name>
<email>kraxel@redhat.com</email>
</author>
<published>2019-10-17T13:26:34+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/talos-op-linux/commit/?id=80ed59b285cc7ca50aeb635eb3a2cb8d3d54b406'/>
<id>urn:sha1:80ed59b285cc7ca50aeb635eb3a2cb8d3d54b406</id>
<content type='text'>
Not sure what this hook is supposed to do.  vmf-&gt;vma-&gt;vm_private_data
should never be NULL, so the extra check in qxl_ttm_fault should have no
effect.

Drop it.

Signed-off-by: Gerd Hoffmann &lt;kraxel@redhat.com&gt;
Reviewed-by: Daniel Vetter &lt;daniel.vetter@ffwll.ch&gt;
Link: http://patchwork.freedesktop.org/patch/msgid/20191017132638.9693-2-kraxel@redhat.com
</content>
</entry>
<entry>
<title>drm/qxl: Fix randbuild error</title>
<updated>2019-10-17T12:31:50+00:00</updated>
<author>
<name>YueHaibing</name>
<email>yuehaibing@huawei.com</email>
</author>
<published>2019-10-08T02:40:54+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/talos-op-linux/commit/?id=ff1ae8f51c6f084dc11dcd6fba08705c2fe0bc67'/>
<id>urn:sha1:ff1ae8f51c6f084dc11dcd6fba08705c2fe0bc67</id>
<content type='text'>
If DEM_QXL is y and DRM_TTM_HELPER is m, building fails:

drivers/gpu/drm/qxl/qxl_object.o: undefined reference to `drm_gem_ttm_print_info'

Select DRM_TTM_HELPER to fix this.

Fixes: 78d54f1f6a33 ("drm/qxl: use drm_gem_ttm_print_info")
Signed-off-by: YueHaibing &lt;yuehaibing@huawei.com&gt;
Link: http://patchwork.freedesktop.org/patch/msgid/20191008024054.32368-1-yuehaibing@huawei.com
Signed-off-by: Gerd Hoffmann &lt;kraxel@redhat.com&gt;
</content>
</entry>
</feed>
