<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/drivers/gpu/drm, branch v4.9</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=v4.9</id>
<link rel='self' href='https://git.shady.money/linux/atom?h=v4.9'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/'/>
<updated>2016-12-07T16:17:21Z</updated>
<entry>
<title>drm/amdgpu: just suspend the hw on pci shutdown</title>
<updated>2016-12-07T16:17:21Z</updated>
<author>
<name>Alex Deucher</name>
<email>alexander.deucher@amd.com</email>
</author>
<published>2016-12-06T15:38:29Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=faefba95c9e8ca3a523831c2ec2150f5ea054dae'/>
<id>urn:sha1:faefba95c9e8ca3a523831c2ec2150f5ea054dae</id>
<content type='text'>
We can't just reuse pci_remove as there may be userspace still
doing things.

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=98638
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=97980
Reviewed-by: Christian König &lt;christian.koenig@amd.com&gt;
Reported-and-tested-by: Mike Lothian &lt;mike@fireburn.co.uk&gt;
Signed-off-by: Alex Deucher &lt;alexander.deucher@amd.com&gt;
</content>
</entry>
<entry>
<title>Merge tag 'drm-intel-fixes-2016-12-01' of git://anongit.freedesktop.org/git/drm-intel into drm-fixes</title>
<updated>2016-12-03T20:31:26Z</updated>
<author>
<name>Dave Airlie</name>
<email>airlied@redhat.com</email>
</author>
<published>2016-12-03T20:31:26Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=ab7cd8d83e5dba13027de66f1b008b08b30b71a4'/>
<id>urn:sha1:ab7cd8d83e5dba13027de66f1b008b08b30b71a4</id>
<content type='text'>
2 intel fixes.

* tag 'drm-intel-fixes-2016-12-01' of git://anongit.freedesktop.org/git/drm-intel:
  drm/i915: drop the struct_mutex when wedged or trying to reset
  drm/i915: Don't touch NULL sg on i915_gem_object_get_pages_gtt() error
</content>
</entry>
<entry>
<title>Merge tag 'drm-misc-fixes-2016-11-30' of git://anongit.freedesktop.org/git/drm-misc into drm-fixes</title>
<updated>2016-12-01T00:00:14Z</updated>
<author>
<name>Dave Airlie</name>
<email>airlied@redhat.com</email>
</author>
<published>2016-12-01T00:00:14Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=83fb8b055544a25ceeac34a666a2149331ea94bf'/>
<id>urn:sha1:83fb8b055544a25ceeac34a666a2149331ea94bf</id>
<content type='text'>
single drm fix.

* tag 'drm-misc-fixes-2016-11-30' of git://anongit.freedesktop.org/git/drm-misc:
  drm: Don't call drm_for_each_crtc with a non-KMS driver
</content>
</entry>
<entry>
<title>drm/i915: drop the struct_mutex when wedged or trying to reset</title>
<updated>2016-11-30T10:09:26Z</updated>
<author>
<name>Matthew Auld</name>
<email>matthew.auld@intel.com</email>
</author>
<published>2016-11-28T10:36:48Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=e411072d5740a49cdc9d0713798c30440757e451'/>
<id>urn:sha1:e411072d5740a49cdc9d0713798c30440757e451</id>
<content type='text'>
We grab the struct_mutex in intel_crtc_page_flip, but if we are wedged
or a reset is in progress we bail early but never seem to actually
release the lock.

Fixes: 7f1847ebf48b ("drm/i915: Simplify checking of GPU reset_counter in display pageflips")
Cc: Chris Wilson &lt;chris@chris-wilson.co.uk&gt;
Signed-off-by: Matthew Auld &lt;matthew.auld@intel.com&gt;
Link: http://patchwork.freedesktop.org/patch/msgid/20161128103648.9235-1-matthew.auld@intel.com
Reviewed-by: Joonas Lahtinen &lt;joonas.lahtinen@linux.intel.com&gt;
Reviewed-by: Chris Wilson &lt;chris@chris-wilson.co.uk&gt;
Signed-off-by: Chris Wilson &lt;chris@chris-wilson.co.uk&gt;
Cc: &lt;stable@vger.kernel.org&gt; # v4.7+
(cherry picked from commit ddbb271aea87fc6004d3c8bcdb0710e980c7ec85)
Signed-off-by: Jani Nikula &lt;jani.nikula@intel.com&gt;
</content>
</entry>
<entry>
<title>drm/i915: Don't touch NULL sg on i915_gem_object_get_pages_gtt() error</title>
<updated>2016-11-30T10:07:05Z</updated>
<author>
<name>Chris Wilson</name>
<email>chris@chris-wilson.co.uk</email>
</author>
<published>2016-11-14T11:29:30Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=2420489bcb8910188578acc0c11c75445c2e4b92'/>
<id>urn:sha1:2420489bcb8910188578acc0c11c75445c2e4b92</id>
<content type='text'>
On the DMA mapping error path, sg may be NULL (it has already been
marked as the last scatterlist entry), and we should avoid dereferencing
it again.

Reported-by: Dan Carpenter &lt;dan.carpenter@oracle.com&gt;
Fixes: e227330223a7 ("drm/i915: avoid leaking DMA mappings")
Signed-off-by: Chris Wilson &lt;chris@chris-wilson.co.uk&gt;
Cc: Imre Deak &lt;imre.deak@intel.com&gt;
Cc: stable@vger.kernel.org
Link: http://patchwork.freedesktop.org/patch/msgid/20161114112930.2033-1-chris@chris-wilson.co.uk
Reviewed-by: Matthew Auld &lt;matthew.auld@intel.com&gt;
(cherry picked from commit b17993b7b29612369270567643bcff814f4b3d7f)
Signed-off-by: Jani Nikula &lt;jani.nikula@intel.com&gt;
</content>
</entry>
<entry>
<title>drm: Don't call drm_for_each_crtc with a non-KMS driver</title>
<updated>2016-11-30T09:13:00Z</updated>
<author>
<name>Michel Dänzer</name>
<email>michel.daenzer@amd.com</email>
</author>
<published>2016-11-30T08:30:01Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=e94bd1736f1f60e916a85a80c0b0ebeaae36cce5'/>
<id>urn:sha1:e94bd1736f1f60e916a85a80c0b0ebeaae36cce5</id>
<content type='text'>
Fixes oops if userspace calls DRM_IOCTL_GET_CAP for
 DRM_CAP_PAGE_FLIP_TARGET on a non-KMS device node. (Normal userspace
doesn't do that, discovered by syzkaller)

Reported-by: Dmitry Vyukov &lt;dvyukov@google.com&gt;
Fixes: f837297ad824 ("drm: Add DRM_MODE_PAGE_FLIP_TARGET_ABSOLUTE/RELATIVE flags v2")
Cc: stable@vger.kernel.org
Signed-off-by: Michel Dänzer &lt;michel.daenzer@amd.com&gt;
Signed-off-by: Daniel Vetter &lt;daniel.vetter@ffwll.ch&gt;
Link: http://patchwork.freedesktop.org/patch/msgid/20161130083002.1520-1-michel@daenzer.net
</content>
</entry>
<entry>
<title>Merge branch 'for-upstream/hdlcd' of git://linux-arm.org/linux-ld into drm-fixes</title>
<updated>2016-11-30T04:17:13Z</updated>
<author>
<name>Dave Airlie</name>
<email>airlied@redhat.com</email>
</author>
<published>2016-11-30T04:17:13Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=b14fd8efb4805ff9a3218ba16f99b58778c4441e'/>
<id>urn:sha1:b14fd8efb4805ff9a3218ba16f99b58778c4441e</id>
<content type='text'>
Thanks for pulling the previous patch for HDLCD. Unfortunately,
yesterday Robin Murphy discovered another issue while playing with
CMA allocation sizes, which he has submitted a fix for.

* 'for-upstream/hdlcd' of git://linux-arm.org/linux-ld:
  drm: hdlcd: Fix cleanup order
</content>
</entry>
<entry>
<title>drm/radeon: fix check for port PM availability</title>
<updated>2016-11-29T14:24:13Z</updated>
<author>
<name>Alex Deucher</name>
<email>alexander.deucher@amd.com</email>
</author>
<published>2016-11-28T22:23:40Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=bcfdd5d5105087e6f33dfeb08a1ca6b2c0287b61'/>
<id>urn:sha1:bcfdd5d5105087e6f33dfeb08a1ca6b2c0287b61</id>
<content type='text'>
The ATPX method does not always exist on the dGPU, it may be located at
the iGPU. The parent device of the iGPU is the root port for which
bridge_d3 is false. This accidentally enables the legacy PM method which
conflicts with port PM and prevented the dGPU from powering on.

Ported from amdgpu commit:
drm/amdgpu: fix check for port PM availability
from Peter Wu.

Fixes: d3ac31f3b4bf9fad (drm/radeon: fix power state when port pm is unavailable (v2))
Signed-off-by: Alex Deucher &lt;alexander.deucher@amd.com&gt;
Cc: Peter Wu &lt;peter@lekensteyn.nl&gt;
Cc: &lt;stable@vger.kernel.org&gt; # 4.8+
</content>
</entry>
<entry>
<title>drm/amdgpu: fix check for port PM availability</title>
<updated>2016-11-29T14:23:39Z</updated>
<author>
<name>Peter Wu</name>
<email>peter@lekensteyn.nl</email>
</author>
<published>2016-11-26T14:05:01Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=7ac33e47d5769632010e537964c7e45498f8dc26'/>
<id>urn:sha1:7ac33e47d5769632010e537964c7e45498f8dc26</id>
<content type='text'>
The ATPX method does not always exist on the dGPU, it may be located at
the iGPU. The parent device of the iGPU is the root port for which
bridge_d3 is false. This accidentally enables the legacy PM method which
conflicts with port PM and prevented the dGPU from powering on.

Fixes: 1db4496f167b ("drm/amdgpu: fix power state when port pm is unavailable")

Reported-and-tested-by: Mike Lothian &lt;mike@fireburn.co.uk&gt;
Signed-off-by: Peter Wu &lt;peter@lekensteyn.nl&gt;
Signed-off-by: Alex Deucher &lt;alexander.deucher@amd.com&gt;
Cc: &lt;stable@vger.kernel.org&gt; # 4.8+
</content>
</entry>
<entry>
<title>drm/amd/powerplay: initialize the soft_regs offset in struct smu7_hwmgr</title>
<updated>2016-11-28T23:22:37Z</updated>
<author>
<name>Rex Zhu</name>
<email>Rex.Zhu@amd.com</email>
</author>
<published>2016-11-24T05:33:47Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=b64268d8a3f623c9b88676ad3dfacc95cfcfc62f'/>
<id>urn:sha1:b64268d8a3f623c9b88676ad3dfacc95cfcfc62f</id>
<content type='text'>
This could lead to mclk dpm problems on some boards.

Signed-off-by: Rex Zhu &lt;Rex.Zhu@amd.com&gt;
Ack-by: Tom St Denis &lt;tom.stdenis@amd.com&gt;
Reviewed-by: Huang Rui &lt;ray.huang@amd.com&gt;
Signed-off-by: Alex Deucher &lt;alexander.deucher@amd.com&gt;
</content>
</entry>
</feed>
