<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/drivers/gpu/vga, branch v3.6.11</title>
<subtitle>Linux kernel source tree</subtitle>
<id>https://git.amat.us/linux/atom/drivers/gpu/vga?h=v3.6.11</id>
<link rel='self' href='https://git.amat.us/linux/atom/drivers/gpu/vga?h=v3.6.11'/>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/'/>
<updated>2012-08-17T21:34:41Z</updated>
<entry>
<title>vga_switcheroo: Don't require handler init callback</title>
<updated>2012-08-17T21:34:41Z</updated>
<author>
<name>Seth Forshee</name>
<email>seth.forshee@canonical.com</email>
</author>
<published>2012-08-17T16:17:02Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=e99eac5e4ea3bd8671bb1cedad10c3fec90ec0de'/>
<id>urn:sha1:e99eac5e4ea3bd8671bb1cedad10c3fec90ec0de</id>
<content type='text'>
This callback is a no-op in nouveau, and the upcoming apple-gmux
switcheroo support won't require it either. Rather than forcing drivers
to stub it out, just make it optional and remove the callback from
nouveau.

Signed-off-by: Seth Forshee &lt;seth.forshee@canonical.com&gt;
Signed-off-by: Matthew Garrett &lt;mjg@redhat.com&gt;
</content>
</entry>
<entry>
<title>vga_switcheroo: Remove assumptions about registration/unregistration ordering</title>
<updated>2012-08-17T21:34:41Z</updated>
<author>
<name>Seth Forshee</name>
<email>seth.forshee@canonical.com</email>
</author>
<published>2012-08-17T16:17:03Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=36704c0c4c64f889d77158d497f6a7e596d1341c'/>
<id>urn:sha1:36704c0c4c64f889d77158d497f6a7e596d1341c</id>
<content type='text'>
vga_switcheroo assumes that the handler will be registered before the
last client, otherwise switching will not be enabled. Likewise it's
assumed that the handler will not be unregistered without at least one
client also being unregistered, otherwise switching will remain enabled
despite no longer having a handler. These assumptions cannot be enforced
if the handler is in a separate driver from both clients, as with the
gmux found in Apple laptops. Remove this assumption.

Signed-off-by: Seth Forshee &lt;seth.forshee@canonical.com&gt;
Signed-off-by: Matthew Garrett &lt;mjg@redhat.com&gt;
</content>
</entry>
<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.amat.us/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.amat.us/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.amat.us/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.amat.us/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.amat.us/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.amat.us/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.amat.us/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.amat.us/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>
</feed>
