<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel/linux.git/include/linux/vgaarb.h, branch v6.1.168</title>
<subtitle>Linux kernel stable tree (mirror)</subtitle>
<id>https://git.radix-linux.su/kernel/linux.git/atom?h=v6.1.168</id>
<link rel='self' href='https://git.radix-linux.su/kernel/linux.git/atom?h=v6.1.168'/>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/'/>
<updated>2021-07-21T08:29:10+00:00</updated>
<entry>
<title>vgaarb: don't pass a cookie to vga_client_register</title>
<updated>2021-07-21T08:29:10+00:00</updated>
<author>
<name>Christoph Hellwig</name>
<email>hch@lst.de</email>
</author>
<published>2021-07-16T06:16:34+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=bf44e8cecc03c9c6197c0b65d54703746a62fb35'/>
<id>urn:sha1:bf44e8cecc03c9c6197c0b65d54703746a62fb35</id>
<content type='text'>
The VGA arbitration is entirely based on pci_dev structures, so just pass
that back to the set_vga_decode callback.

Signed-off-by: Christoph Hellwig &lt;hch@lst.de&gt;
Link: https://patchwork.freedesktop.org/patch/msgid/20210716061634.2446357-8-hch@lst.de
Acked-by: Christian König &lt;christian.koenig@amd.com&gt;
Signed-off-by: Christian König &lt;christian.koenig@amd.com&gt;
</content>
</entry>
<entry>
<title>vgaarb: remove the unused irq_set_state argument to vga_client_register</title>
<updated>2021-07-21T08:29:05+00:00</updated>
<author>
<name>Christoph Hellwig</name>
<email>hch@lst.de</email>
</author>
<published>2021-07-16T06:16:33+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=f6b1772b255504e9666cb8b1beabfd00abb2da56'/>
<id>urn:sha1:f6b1772b255504e9666cb8b1beabfd00abb2da56</id>
<content type='text'>
All callers pass NULL as the irq_set_state argument, so remove it and
the -&gt;irq_set_state member in struct vga_device.

Signed-off-by: Christoph Hellwig &lt;hch@lst.de&gt;
Link: https://patchwork.freedesktop.org/patch/msgid/20210716061634.2446357-7-hch@lst.de
Acked-by: Christian König &lt;christian.koenig@amd.com&gt;
Signed-off-by: Christian König &lt;christian.koenig@amd.com&gt;
</content>
</entry>
<entry>
<title>vgaarb: provide a vga_client_unregister wrapper</title>
<updated>2021-07-21T08:29:00+00:00</updated>
<author>
<name>Christoph Hellwig</name>
<email>hch@lst.de</email>
</author>
<published>2021-07-16T06:16:32+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=b8779475869a26ffcd2fde279f7b364ec5722d0d'/>
<id>urn:sha1:b8779475869a26ffcd2fde279f7b364ec5722d0d</id>
<content type='text'>
Add a trivial wrapper for the unregister case that sets all fields to
NULL.

Signed-off-by: Christoph Hellwig &lt;hch@lst.de&gt;
Link: https://patchwork.freedesktop.org/patch/msgid/20210716061634.2446357-6-hch@lst.de
Acked-by: Christian König &lt;christian.koenig@amd.com&gt;
Signed-off-by: Christian König &lt;christian.koenig@amd.com&gt;
</content>
</entry>
<entry>
<title>vgaarb: cleanup vgaarb.h</title>
<updated>2021-07-21T08:28:56+00:00</updated>
<author>
<name>Christoph Hellwig</name>
<email>hch@lst.de</email>
</author>
<published>2021-07-16T06:16:31+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=6609176f56ad895ba25d4c120c707fb15f45aa4e'/>
<id>urn:sha1:6609176f56ad895ba25d4c120c707fb15f45aa4e</id>
<content type='text'>
Merge the different CONFIG_VGA_ARB ifdef blocks, remove superflous
externs, and regularize the stubs for !CONFIG_VGA_ARB.

Signed-off-by: Christoph Hellwig &lt;hch@lst.de&gt;
Link: https://patchwork.freedesktop.org/patch/msgid/20210716061634.2446357-5-hch@lst.de
Acked-by: Christian König &lt;christian.koenig@amd.com&gt;
Signed-off-by: Christian König &lt;christian.koenig@amd.com&gt;
</content>
</entry>
<entry>
<title>vgaarb: move the kerneldoc for vga_set_legacy_decoding to vgaarb.c</title>
<updated>2021-07-21T08:28:51+00:00</updated>
<author>
<name>Christoph Hellwig</name>
<email>hch@lst.de</email>
</author>
<published>2021-07-16T06:16:30+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=45549c00d3ff05735e7ceb89b20e302301cd6b14'/>
<id>urn:sha1:45549c00d3ff05735e7ceb89b20e302301cd6b14</id>
<content type='text'>
Kerneldoc comments should be at the implementation side, not in the
header just declaring the prototype.

Signed-off-by: Christoph Hellwig &lt;hch@lst.de&gt;
Link: https://patchwork.freedesktop.org/patch/msgid/20210716061634.2446357-4-hch@lst.de
Acked-by: Christian König &lt;christian.koenig@amd.com&gt;
Signed-off-by: Christian König &lt;christian.koenig@amd.com&gt;
</content>
</entry>
<entry>
<title>vgaarb: remove vga_conflicts</title>
<updated>2021-07-21T08:28:47+00:00</updated>
<author>
<name>Christoph Hellwig</name>
<email>hch@lst.de</email>
</author>
<published>2021-07-16T06:16:29+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=b0b514abc4cf2841ee1e0833252b2e8a78401276'/>
<id>urn:sha1:b0b514abc4cf2841ee1e0833252b2e8a78401276</id>
<content type='text'>
vga_conflicts only has a single caller and none of the arch overrides
mentioned in the comment.  Just remove it and the thus dead check in the
caller.

Signed-off-by: Christoph Hellwig &lt;hch@lst.de&gt;
Link: https://patchwork.freedesktop.org/patch/msgid/20210716061634.2446357-3-hch@lst.de
Acked-by: Christian König &lt;christian.koenig@amd.com&gt;
Signed-off-by: Christian König &lt;christian.koenig@amd.com&gt;
</content>
</entry>
<entry>
<title>vgaarb: remove VGA_DEFAULT_DEVICE</title>
<updated>2021-07-21T08:28:42+00:00</updated>
<author>
<name>Christoph Hellwig</name>
<email>hch@lst.de</email>
</author>
<published>2021-07-16T06:16:28+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=77e21b50acab326173716830ef15a2f237f2d198'/>
<id>urn:sha1:77e21b50acab326173716830ef15a2f237f2d198</id>
<content type='text'>
The define is entirely unused.

Signed-off-by: Christoph Hellwig &lt;hch@lst.de&gt;
Link: https://patchwork.freedesktop.org/patch/msgid/20210716061634.2446357-2-hch@lst.de
Acked-by: Christian König &lt;christian.koenig@amd.com&gt;
Signed-off-by: Christian König &lt;christian.koenig@amd.com&gt;
</content>
</entry>
<entry>
<title>vgaarb: avoid -Wempty-body warnings</title>
<updated>2021-03-22T14:02:14+00:00</updated>
<author>
<name>Arnd Bergmann</name>
<email>arnd@arndb.de</email>
</author>
<published>2021-03-22T10:53:00+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=458025f6c16188a9f28219578448fac24b2cd487'/>
<id>urn:sha1:458025f6c16188a9f28219578448fac24b2cd487</id>
<content type='text'>
Building with W=1 shows a few warnings for an empty macro:

drivers/gpu/drm/qxl/qxl_drv.c: In function 'qxl_pci_probe':
drivers/gpu/drm/qxl/qxl_drv.c:131:50: error: suggest braces around empty body in an 'if' statement [-Werror=empty-body]
  131 |                 vga_put(pdev, VGA_RSRC_LEGACY_IO);
      |                                                  ^
drivers/gpu/drm/qxl/qxl_drv.c: In function 'qxl_pci_remove':
drivers/gpu/drm/qxl/qxl_drv.c:159:50: error: suggest braces around empty body in an 'if' statement [-Werror=empty-body]
  159 |                 vga_put(pdev, VGA_RSRC_LEGACY_IO);

Change this to an inline function to make it more robust and avoid
the warning.

Signed-off-by: Arnd Bergmann &lt;arnd@arndb.de&gt;
Signed-off-by: Daniel Vetter &lt;daniel.vetter@ffwll.ch&gt;
Link: https://patchwork.freedesktop.org/patch/msgid/20210322105307.1291840-2-arnd@kernel.org
</content>
</entry>
<entry>
<title>vgaarb: Remove unneeded semicolons</title>
<updated>2021-01-18T09:52:41+00:00</updated>
<author>
<name>Yue Zou</name>
<email>zouyue3@huawei.com</email>
</author>
<published>2021-01-18T01:03:55+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=61712a5f8271ebdbb9d34d28279b77a452db9d5c'/>
<id>urn:sha1:61712a5f8271ebdbb9d34d28279b77a452db9d5c</id>
<content type='text'>
Remove superfluous semicolons after function definitions.

Signed-off-by: Yue Zou &lt;zouyue3@huawei.com&gt;
Signed-off-by: Daniel Vetter &lt;daniel.vetter@ffwll.ch&gt;
Link: https://patchwork.freedesktop.org/patch/msgid/20210118010356.214491-1-zouyue3@huawei.com
</content>
</entry>
<entry>
<title>vgaarb: mark vga_tryget static</title>
<updated>2020-08-01T09:28:17+00:00</updated>
<author>
<name>Christoph Hellwig</name>
<email>hch@lst.de</email>
</author>
<published>2020-08-01T06:17:13+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=f369bc3f9096f5d355e8b80540bc30ac9a602912'/>
<id>urn:sha1:f369bc3f9096f5d355e8b80540bc30ac9a602912</id>
<content type='text'>
This symbols isn't used anywhere outside of vgaarb.c.

Signed-off-by: Christoph Hellwig &lt;hch@lst.de&gt;
Signed-off-by: Daniel Vetter &lt;daniel.vetter@ffwll.ch&gt;
Link: https://patchwork.freedesktop.org/patch/msgid/20200801061713.307434-1-hch@lst.de
</content>
</entry>
</feed>
