<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/drivers/gpu/vga, branch v3.5</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=v3.5</id>
<link rel='self' href='https://git.shady.money/linux/atom?h=v3.5'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/'/>
<updated>2012-06-09T10:14:43Z</updated>
<entry>
<title>vga_switcheroo: Enable/disable audio clients at the right time</title>
<updated>2012-06-09T10:14:43Z</updated>
<author>
<name>Takashi Iwai</name>
<email>tiwai@suse.de</email>
</author>
<published>2012-06-09T06:46:42Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=c91c3faea500da34d42a14735f1f67bb137b6413'/>
<id>urn:sha1:c91c3faea500da34d42a14735f1f67bb137b6413</id>
<content type='text'>
The audio clients have to be disabled before disabling the VGA and
switching.  Similarly, enabling the audio client should be done at
last.  Otherwise the audio-side operation stalls, eventually leading
to Oops or lockups.

Tested-by: Jörg-Volker Peetz &lt;jvpeetz@web.de&gt;
Acked-by: Dave Airlie &lt;airlied@redhat.com&gt;
Signed-off-by: Takashi Iwai &lt;tiwai@suse.de&gt;
</content>
</entry>
<entry>
<title>vga_switcheroo: Add a helper function to get the client state</title>
<updated>2012-06-08T09:24:12Z</updated>
<author>
<name>Takashi Iwai</name>
<email>tiwai@suse.de</email>
</author>
<published>2012-06-07T10:15:15Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=c8e9cf7bb240049117d2fa64d1540476c289396d'/>
<id>urn:sha1:c8e9cf7bb240049117d2fa64d1540476c289396d</id>
<content type='text'>
Add vga_switcheroo_get_client_state() to get the current state of the
client.  This is necessary to determine the proper initial state of
audio clients in HD-audio driver.

Acked-by: Dave Airlie &lt;airlied@redhat.com&gt;
Signed-off-by: Takashi Iwai &lt;tiwai@suse.de&gt;
</content>
</entry>
<entry>
<title>vga_switcheroo: Add the support for audio clients</title>
<updated>2012-05-13T09:27:21Z</updated>
<author>
<name>Takashi Iwai</name>
<email>tiwai@suse.de</email>
</author>
<published>2012-04-26T12:29:48Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=3e9e63dbd3745ba9ea10f0f86c93f4086c89d5b8'/>
<id>urn:sha1:3e9e63dbd3745ba9ea10f0f86c93f4086c89d5b8</id>
<content type='text'>
Add the support for audio clients to VGA-switcheroo for handling the
HDMI audio controller together with VGA switching.  The id of the
audio controller should be given explicitly at registration time
unlike the video controller.

Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=43155

Signed-off-by: Takashi Iwai &lt;tiwai@suse.de&gt;
</content>
</entry>
<entry>
<title>vga_switcheroo: Introduce struct vga_switcheroo_client_ops</title>
<updated>2012-05-13T09:24:09Z</updated>
<author>
<name>Takashi Iwai</name>
<email>tiwai@suse.de</email>
</author>
<published>2012-05-11T05:51:17Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=26ec685ff9d9c16525d8ec4c97e52fcdb187b302'/>
<id>urn:sha1:26ec685ff9d9c16525d8ec4c97e52fcdb187b302</id>
<content type='text'>
This changes the API as a clean-up.  Instead of passing multiple
function pointers at each time, introduce a new struct holding the
whole callback functions and pass it to the registration.

The same struct will be used for the upcoming audio client
registration, too.

Signed-off-by: Takashi Iwai &lt;tiwai@suse.de&gt;
</content>
</entry>
<entry>
<title>vga_switcheroo: Refactor using linked list</title>
<updated>2012-05-13T09:21:56Z</updated>
<author>
<name>Takashi Iwai</name>
<email>tiwai@suse.de</email>
</author>
<published>2012-04-26T10:55:59Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=79721e0a91b5e8f662f12eeb50ea205c761e6bf8'/>
<id>urn:sha1:79721e0a91b5e8f662f12eeb50ea205c761e6bf8</id>
<content type='text'>
Refactor the code base a bit for the further work to adapt more clients.

Signed-off-by: Takashi Iwai &lt;tiwai@suse.de&gt;
</content>
</entry>
<entry>
<title>vga: fix build when fbdev is a module</title>
<updated>2012-04-24T08:50:21Z</updated>
<author>
<name>Matthew Garrett</name>
<email>mjg@redhat.com</email>
</author>
<published>2012-04-24T08:31:28Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=1b23170a8e14ef62ad1daa957aa528212a8d0aef'/>
<id>urn:sha1:1b23170a8e14ef62ad1daa957aa528212a8d0aef</id>
<content type='text'>
This fixes the build breakage reported by Stephen in -next
when merging the drm-next tree.

Signed-off-by: Dave Airlie &lt;airlied@redhat.com&gt;
</content>
</entry>
<entry>
<title>vga-switcheroo: select VGA arbitration.</title>
<updated>2012-04-24T08:50:19Z</updated>
<author>
<name>Dave Airlie</name>
<email>airlied@redhat.com</email>
</author>
<published>2012-04-16T18:01:17Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=343d4a79fdaeb8753201324c03fbc108f4e62636'/>
<id>urn:sha1:343d4a79fdaeb8753201324c03fbc108f4e62636</id>
<content type='text'>
Since Matthew's changes we have to select arbitration.

Reported-by: devh on #radeon
Signed-off-by: Dave Airlie &lt;airlied@redhat.com&gt;
</content>
</entry>
<entry>
<title>vga-switcheroo: Use vga_default_device()</title>
<updated>2012-04-24T08:50:16Z</updated>
<author>
<name>Matthew Garrett</name>
<email>mjg@redhat.com</email>
</author>
<published>2012-04-16T20:26:03Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=2fbe8c7c3ebfed2059a6597322bb0dbc4d96feb5'/>
<id>urn:sha1:2fbe8c7c3ebfed2059a6597322bb0dbc4d96feb5</id>
<content type='text'>
vga-switcheroo currently changes the default VGA device by fiddling with
the IORESOURCE_ROM_SHADOW flag on the device. This isn't strictly accurate,
since there's no guarantee that switching also changes the ROM decoding.
Switch over to using the vgaarb functions for this.

Signed-off-by: Matthew Garrett &lt;mjg@redhat.com&gt;
Signed-off-by: Dave Airlie &lt;airlied@redhat.com&gt;
</content>
</entry>
<entry>
<title>vgaarb: Add support for setting the default video device (v2)</title>
<updated>2012-04-24T08:50:15Z</updated>
<author>
<name>Matthew Garrett</name>
<email>mjg@redhat.com</email>
</author>
<published>2012-04-16T20:26:02Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=1a39b310e920bb7098067d96411b31e459ae8f32'/>
<id>urn:sha1:1a39b310e920bb7098067d96411b31e459ae8f32</id>
<content type='text'>
The default VGA device is a somewhat fluid concept on platforms with
multiple GPUs. Add support for setting it so switching code can update
things appropriately, and make sure that the sysfs code returns the right
device if it's changed.

v2: Updated to fix builds when __ARCH_HAS_VGA_DEFAULT_DEVICE is false.

Signed-off-by: Matthew Garrett &lt;mjg@redhat.com&gt;
Acked-by: H. Peter Anvin &lt;hpa@zytor.com&gt;
Acked-by: benh@kernel.crashing.org
Cc: airlied@redhat.com
Signed-off-by: Dave Airlie &lt;airlied@redhat.com&gt;
</content>
</entry>
<entry>
<title>drivers/gpu/vga/vgaarb.c: add missing kfree</title>
<updated>2011-11-22T20:21:10Z</updated>
<author>
<name>Julia Lawall</name>
<email>julia@diku.dk</email>
</author>
<published>2011-11-15T22:53:11Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=c916874d60d9daf2e2d5f4f622b185ef57deb6a4'/>
<id>urn:sha1:c916874d60d9daf2e2d5f4f622b185ef57deb6a4</id>
<content type='text'>
kbuf is a buffer that is local to this function, so all of the error paths
leaving the function should release it.

Signed-off-by: Julia Lawall &lt;julia@diku.dk&gt;
Cc: Jesper Juhl &lt;jj@chaosbits.net&gt;
Signed-off-by: Andrew Morton &lt;akpm@linux-foundation.org&gt;
Signed-off-by: Dave Airlie &lt;airlied@redhat.com&gt;
</content>
</entry>
</feed>
