<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux-toradex.git/drivers/gpu, branch v3.17-rc7</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>Merge branch 'drm-fixes-3.17' of git://people.freedesktop.org/~agd5f/linux into drm-fixes</title>
<updated>2014-09-24T20:49:26+00:00</updated>
<author>
<name>Dave Airlie</name>
<email>airlied@redhat.com</email>
</author>
<published>2014-09-24T20:49:26+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=67f33f30fc3cb7896cbdbd25c70395d38bfa9520'/>
<id>67f33f30fc3cb7896cbdbd25c70395d38bfa9520</id>
<content type='text'>
- fix a backlight regression resulting in dark screen
- add a PX quirk to avoid a hang with runtime pm
- fix an init issue on the CIK compute rings
- fix IH ring buffer overflows gracefully

* 'drm-fixes-3.17' of git://people.freedesktop.org/~agd5f/linux:
  drm/radeon/cik: use a separate counter for CP init timeout
  drm/radeon: add PX quirk for asus K53TK
  drm/radeon: add a backlight quirk for Amilo Xi 2550
  drm/radeon: add a module parameter for backlight control (v2)
  drm/radeon: Update IH_RB_RPTR register after each processed interrupt
  drm/radeon: Make IH ring overflow debugging output more useful
  drm/radeon: Clear RB_OVERFLOW bit earlier
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
- fix a backlight regression resulting in dark screen
- add a PX quirk to avoid a hang with runtime pm
- fix an init issue on the CIK compute rings
- fix IH ring buffer overflows gracefully

* 'drm-fixes-3.17' of git://people.freedesktop.org/~agd5f/linux:
  drm/radeon/cik: use a separate counter for CP init timeout
  drm/radeon: add PX quirk for asus K53TK
  drm/radeon: add a backlight quirk for Amilo Xi 2550
  drm/radeon: add a module parameter for backlight control (v2)
  drm/radeon: Update IH_RB_RPTR register after each processed interrupt
  drm/radeon: Make IH ring overflow debugging output more useful
  drm/radeon: Clear RB_OVERFLOW bit earlier
</pre>
</div>
</content>
</entry>
<entry>
<title>drm/radeon/cik: use a separate counter for CP init timeout</title>
<updated>2014-09-23T14:20:13+00:00</updated>
<author>
<name>Alex Deucher</name>
<email>alexander.deucher@amd.com</email>
</author>
<published>2014-09-23T14:20:13+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=370ce45b5986118fa496dddbcd7039e1aa1a418f'/>
<id>370ce45b5986118fa496dddbcd7039e1aa1a418f</id>
<content type='text'>
Otherwise we may fail to init the second compute ring.

Noticed-by: Christian König &lt;christian.koenig@amd.com&gt;
Signed-off-by: Alex Deucher &lt;alexander.deucher@amd.com&gt;
Cc: stable@vger.kernel.org
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Otherwise we may fail to init the second compute ring.

Noticed-by: Christian König &lt;christian.koenig@amd.com&gt;
Signed-off-by: Alex Deucher &lt;alexander.deucher@amd.com&gt;
Cc: stable@vger.kernel.org
</pre>
</div>
</content>
</entry>
<entry>
<title>drm/i915/hdmi: fix hdmi audio state readout</title>
<updated>2014-09-23T13:36:12+00:00</updated>
<author>
<name>Jani Nikula</name>
<email>jani.nikula@intel.com</email>
</author>
<published>2014-09-17T12:34:58+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=c84db77010877da6c5da119868ed54c43d59e726'/>
<id>c84db77010877da6c5da119868ed54c43d59e726</id>
<content type='text'>
Check the correct bit for audio. Seems like a copy-paste error from the
start:

commit 9ed109a7b445e3f073d8ea72f888ec80c0532465
Author: Daniel Vetter &lt;daniel.vetter@ffwll.ch&gt;
Date:   Thu Apr 24 23:54:52 2014 +0200

    drm/i915: Track has_audio in the pipe config

Reported-by: Martin Andersen &lt;martin.x.andersen@gmail.com&gt;
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=82756
Cc: stable@vger.kernel.org # 3.16+
Cc: Daniel Vetter &lt;daniel.vetter@ffwll.ch&gt;
Reviewed-by: Daniel Vetter &lt;daniel.vetter@ffwll.ch&gt;
Signed-off-by: Jani Nikula &lt;jani.nikula@intel.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Check the correct bit for audio. Seems like a copy-paste error from the
start:

commit 9ed109a7b445e3f073d8ea72f888ec80c0532465
Author: Daniel Vetter &lt;daniel.vetter@ffwll.ch&gt;
Date:   Thu Apr 24 23:54:52 2014 +0200

    drm/i915: Track has_audio in the pipe config

Reported-by: Martin Andersen &lt;martin.x.andersen@gmail.com&gt;
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=82756
Cc: stable@vger.kernel.org # 3.16+
Cc: Daniel Vetter &lt;daniel.vetter@ffwll.ch&gt;
Reviewed-by: Daniel Vetter &lt;daniel.vetter@ffwll.ch&gt;
Signed-off-by: Jani Nikula &lt;jani.nikula@intel.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>drm/i915: Don't leak command parser tables on suspend/resume</title>
<updated>2014-09-23T11:50:01+00:00</updated>
<author>
<name>Brad Volkin</name>
<email>bradley.d.volkin@intel.com</email>
</author>
<published>2014-09-22T15:25:21+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=22cb99af39b5d4aae075a5bc9da615ba245227cd'/>
<id>22cb99af39b5d4aae075a5bc9da615ba245227cd</id>
<content type='text'>
Ring init and cleanup are not balanced because we re-init the rings on
resume without having cleaned them up on suspend. This leads to the
driver leaking the parser's hash tables with a kmemleak signature such
as this:

unreferenced object 0xffff880405960980 (size 32):
  comm "systemd-udevd", pid 516, jiffies 4294896961 (age 10202.044s)
  hex dump (first 32 bytes):
    d0 85 46 c0 ff ff ff ff 00 00 00 00 00 00 00 00  ..F.............
    98 60 28 04 04 88 ff ff 00 00 00 00 00 00 00 00  .`(.............
  backtrace:
    [&lt;ffffffff81816f9e&gt;] kmemleak_alloc+0x4e/0xb0
    [&lt;ffffffff811fa678&gt;] kmem_cache_alloc_trace+0x168/0x2f0
    [&lt;ffffffffc03e20a5&gt;] i915_cmd_parser_init_ring+0x2a5/0x3e0 [i915]
    [&lt;ffffffffc04088a2&gt;] intel_init_ring_buffer+0x202/0x470 [i915]
    [&lt;ffffffffc040c998&gt;] intel_init_vebox_ring_buffer+0x1e8/0x2b0 [i915]
    [&lt;ffffffffc03eff59&gt;] i915_gem_init_hw+0x2f9/0x3a0 [i915]
    [&lt;ffffffffc03f0057&gt;] i915_gem_init+0x57/0x1d0 [i915]
    [&lt;ffffffffc045e26a&gt;] i915_driver_load+0xc0a/0x10e0 [i915]
    [&lt;ffffffffc02e0d5d&gt;] drm_dev_register+0xad/0x100 [drm]
    [&lt;ffffffffc02e3b9f&gt;] drm_get_pci_dev+0x8f/0x200 [drm]
    [&lt;ffffffffc03c934b&gt;] i915_pci_probe+0x3b/0x60 [i915]
    [&lt;ffffffff81436725&gt;] local_pci_probe+0x45/0xa0
    [&lt;ffffffff81437a69&gt;] pci_device_probe+0xd9/0x130
    [&lt;ffffffff81524f4d&gt;] driver_probe_device+0x12d/0x3e0
    [&lt;ffffffff815252d3&gt;] __driver_attach+0x93/0xa0
    [&lt;ffffffff81522e1b&gt;] bus_for_each_dev+0x6b/0xb0

This patch extends the current convention of checking whether a
resource is already allocated before allocating it during ring init.
Longer term it might make sense to only init the rings once.

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=83794
Tested-by: Kari Suvanto &lt;kari.tj.suvanto@gmail.com&gt;
Signed-off-by: Brad Volkin &lt;bradley.d.volkin@intel.com&gt;
Reviewed-by: Daniel Vetter &lt;daniel.vetter@ffwll.ch&gt;
Cc: stable@vger.kernel.org
Signed-off-by: Jani Nikula &lt;jani.nikula@intel.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Ring init and cleanup are not balanced because we re-init the rings on
resume without having cleaned them up on suspend. This leads to the
driver leaking the parser's hash tables with a kmemleak signature such
as this:

unreferenced object 0xffff880405960980 (size 32):
  comm "systemd-udevd", pid 516, jiffies 4294896961 (age 10202.044s)
  hex dump (first 32 bytes):
    d0 85 46 c0 ff ff ff ff 00 00 00 00 00 00 00 00  ..F.............
    98 60 28 04 04 88 ff ff 00 00 00 00 00 00 00 00  .`(.............
  backtrace:
    [&lt;ffffffff81816f9e&gt;] kmemleak_alloc+0x4e/0xb0
    [&lt;ffffffff811fa678&gt;] kmem_cache_alloc_trace+0x168/0x2f0
    [&lt;ffffffffc03e20a5&gt;] i915_cmd_parser_init_ring+0x2a5/0x3e0 [i915]
    [&lt;ffffffffc04088a2&gt;] intel_init_ring_buffer+0x202/0x470 [i915]
    [&lt;ffffffffc040c998&gt;] intel_init_vebox_ring_buffer+0x1e8/0x2b0 [i915]
    [&lt;ffffffffc03eff59&gt;] i915_gem_init_hw+0x2f9/0x3a0 [i915]
    [&lt;ffffffffc03f0057&gt;] i915_gem_init+0x57/0x1d0 [i915]
    [&lt;ffffffffc045e26a&gt;] i915_driver_load+0xc0a/0x10e0 [i915]
    [&lt;ffffffffc02e0d5d&gt;] drm_dev_register+0xad/0x100 [drm]
    [&lt;ffffffffc02e3b9f&gt;] drm_get_pci_dev+0x8f/0x200 [drm]
    [&lt;ffffffffc03c934b&gt;] i915_pci_probe+0x3b/0x60 [i915]
    [&lt;ffffffff81436725&gt;] local_pci_probe+0x45/0xa0
    [&lt;ffffffff81437a69&gt;] pci_device_probe+0xd9/0x130
    [&lt;ffffffff81524f4d&gt;] driver_probe_device+0x12d/0x3e0
    [&lt;ffffffff815252d3&gt;] __driver_attach+0x93/0xa0
    [&lt;ffffffff81522e1b&gt;] bus_for_each_dev+0x6b/0xb0

This patch extends the current convention of checking whether a
resource is already allocated before allocating it during ring init.
Longer term it might make sense to only init the rings once.

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=83794
Tested-by: Kari Suvanto &lt;kari.tj.suvanto@gmail.com&gt;
Signed-off-by: Brad Volkin &lt;bradley.d.volkin@intel.com&gt;
Reviewed-by: Daniel Vetter &lt;daniel.vetter@ffwll.ch&gt;
Cc: stable@vger.kernel.org
Signed-off-by: Jani Nikula &lt;jani.nikula@intel.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>drm/radeon: add PX quirk for asus K53TK</title>
<updated>2014-09-22T21:38:14+00:00</updated>
<author>
<name>Alex Deucher</name>
<email>alexander.deucher@amd.com</email>
</author>
<published>2014-09-22T21:28:29+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=ff1b129403aad9a5c7cc9a6eaaffe4bd5fc0c67f'/>
<id>ff1b129403aad9a5c7cc9a6eaaffe4bd5fc0c67f</id>
<content type='text'>
Seems to have problems turning the dGPU on/off.

bug:
https://bugzilla.kernel.org/show_bug.cgi?id=51381

Signed-off-by: Alex Deucher &lt;alexander.deucher@amd.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Seems to have problems turning the dGPU on/off.

bug:
https://bugzilla.kernel.org/show_bug.cgi?id=51381

Signed-off-by: Alex Deucher &lt;alexander.deucher@amd.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>drm/radeon: add a backlight quirk for Amilo Xi 2550</title>
<updated>2014-09-22T21:24:28+00:00</updated>
<author>
<name>Alex Deucher</name>
<email>alexander.deucher@amd.com</email>
</author>
<published>2014-09-17T15:31:02+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=8aff6ad5a393b8e2ad00dce4d278ecf41397bf0d'/>
<id>8aff6ad5a393b8e2ad00dce4d278ecf41397bf0d</id>
<content type='text'>
Only the acpi backlight seems to work.  Using the
radeon backlight controller causes the backlight to
go off.

bug:
https://bugs.freedesktop.org/show_bug.cgi?id=81382

Signed-off-by: Alex Deucher &lt;alexander.deucher@amd.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Only the acpi backlight seems to work.  Using the
radeon backlight controller causes the backlight to
go off.

bug:
https://bugs.freedesktop.org/show_bug.cgi?id=81382

Signed-off-by: Alex Deucher &lt;alexander.deucher@amd.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>drm/radeon: add a module parameter for backlight control (v2)</title>
<updated>2014-09-22T21:24:27+00:00</updated>
<author>
<name>Alex Deucher</name>
<email>alexander.deucher@amd.com</email>
</author>
<published>2014-09-17T00:57:26+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=bc13018b5eba26ca229b33763c9e61fac31a1925'/>
<id>bc13018b5eba26ca229b33763c9e61fac31a1925</id>
<content type='text'>
Add a module parameter to disable the radeon GPU backlight
controller to override the automatic detection.  Some
laptops seems to indicate that they use the integrated
controller, but appear to actually use an external
controller.

bug:
https://bugs.freedesktop.org/show_bug.cgi?id=81382

v2: fix module parameter description

Signed-off-by: Alex Deucher &lt;alexander.deucher@amd.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Add a module parameter to disable the radeon GPU backlight
controller to override the automatic detection.  Some
laptops seems to indicate that they use the integrated
controller, but appear to actually use an external
controller.

bug:
https://bugs.freedesktop.org/show_bug.cgi?id=81382

v2: fix module parameter description

Signed-off-by: Alex Deucher &lt;alexander.deucher@amd.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>drm/radeon: Update IH_RB_RPTR register after each processed interrupt</title>
<updated>2014-09-22T21:24:26+00:00</updated>
<author>
<name>Michel Dänzer</name>
<email>michel.daenzer@amd.com</email>
</author>
<published>2014-09-19T03:22:10+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=f55e03b975c230758c8f164347dfa10103f60e2c'/>
<id>f55e03b975c230758c8f164347dfa10103f60e2c</id>
<content type='text'>
This might decrease the chance of IH ring buffer overflows.

Signed-off-by: Michel Dänzer &lt;michel.daenzer@amd.com&gt;
Signed-off-by: Alex Deucher &lt;alexander.deucher@amd.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This might decrease the chance of IH ring buffer overflows.

Signed-off-by: Michel Dänzer &lt;michel.daenzer@amd.com&gt;
Signed-off-by: Alex Deucher &lt;alexander.deucher@amd.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>drm/radeon: Make IH ring overflow debugging output more useful</title>
<updated>2014-09-22T21:24:26+00:00</updated>
<author>
<name>Michel Dänzer</name>
<email>michel.daenzer@amd.com</email>
</author>
<published>2014-09-19T03:22:07+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=6cc2fda213d7a939e151ea1b5ec8033cce732c08'/>
<id>6cc2fda213d7a939e151ea1b5ec8033cce732c08</id>
<content type='text'>
Use the same format for all ring indices, and fix the calculation of the
post-overflow RPTR.

Signed-off-by: Michel Dänzer &lt;michel.daenzer@amd.com&gt;
Signed-off-by: Alex Deucher &lt;alexander.deucher@amd.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Use the same format for all ring indices, and fix the calculation of the
post-overflow RPTR.

Signed-off-by: Michel Dänzer &lt;michel.daenzer@amd.com&gt;
Signed-off-by: Alex Deucher &lt;alexander.deucher@amd.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>drm/radeon: Clear RB_OVERFLOW bit earlier</title>
<updated>2014-09-22T21:24:25+00:00</updated>
<author>
<name>Michel Dänzer</name>
<email>michel.daenzer@amd.com</email>
</author>
<published>2014-09-19T03:07:11+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=11bab0ae9991b165b542294806013d1e06fb3294'/>
<id>11bab0ae9991b165b542294806013d1e06fb3294</id>
<content type='text'>
Otherwise the bit remains set in rdev-&gt;ih.rptr, so the wptr can never
match that and we still have an infinite loop.

This fix allows me to successfully recover from an IH ring buffer
overflow.

Signed-off-by: Michel Dänzer &lt;michel.daenzer@amd.com&gt;
Signed-off-by: Alex Deucher &lt;alexander.deucher@amd.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Otherwise the bit remains set in rdev-&gt;ih.rptr, so the wptr can never
match that and we still have an infinite loop.

This fix allows me to successfully recover from an IH ring buffer
overflow.

Signed-off-by: Michel Dänzer &lt;michel.daenzer@amd.com&gt;
Signed-off-by: Alex Deucher &lt;alexander.deucher@amd.com&gt;
</pre>
</div>
</content>
</entry>
</feed>
