<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/drivers/gpu, branch v5.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=v5.9</id>
<link rel='self' href='https://git.shady.money/linux/atom?h=v5.9'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/'/>
<updated>2020-10-08T21:15:52Z</updated>
<entry>
<title>drm/amd/display: Change ABM config init interface</title>
<updated>2020-10-08T21:15:52Z</updated>
<author>
<name>Yongqiang Sun</name>
<email>yongqiang.sun@amd.com</email>
</author>
<published>2020-07-31T17:57:05Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=33c8256b3bcc0425caec2bb7511e34176f464348'/>
<id>urn:sha1:33c8256b3bcc0425caec2bb7511e34176f464348</id>
<content type='text'>
[Why &amp; How]
change abm config init interface to support multiple ABMs.

Signed-off-by: Yongqiang Sun &lt;yongqiang.sun@amd.com&gt;
Reviewed-by: Chris Park &lt;Chris.Park@amd.com&gt;
Acked-by: Rodrigo Siqueira &lt;Rodrigo.Siqueira@amd.com&gt;
Signed-off-by: Alex Deucher &lt;alexander.deucher@amd.com&gt;
</content>
</entry>
<entry>
<title>drm/amdgpu/swsmu: fix ARC build errors</title>
<updated>2020-10-07T21:04:27Z</updated>
<author>
<name>Alex Deucher</name>
<email>alexander.deucher@amd.com</email>
</author>
<published>2020-10-06T13:20:47Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=dcba603f82ed261c3db33cf9e7c639116a6e84ae'/>
<id>urn:sha1:dcba603f82ed261c3db33cf9e7c639116a6e84ae</id>
<content type='text'>
We want to use the dev_* functions here rather than the pr_* variants.
Switch to using dev_warn() which mirrors what we do on other asics.

Fixes the following build errors on ARC:

../drivers/gpu/drm/amd/amdgpu/../powerplay/navi10_ppt.c: In function 'navi10_fill_i2c_req':
../arch/arc/include/asm/bug.h:24:2: error: implicit declaration of function 'pr_warn'; did you mean 'drm_warn'? [-Werror=implicit-function-declaration]

../drivers/gpu/drm/amd/amdgpu/../powerplay/sienna_cichlid_ppt.c: In function 'sienna_cichlid_fill_i2c_req':
../arch/arc/include/asm/bug.h:24:2: error: implicit declaration of function 'pr_warn'; did you mean 'drm_warn'? [-Werror=implicit-function-declaration]

Reported-by: kernel test robot &lt;lkp@intel.com&gt;
Cc: Randy Dunlap &lt;rdunlap@infradead.org&gt;
Cc: Evan Quan &lt;evan.quan@amd.com&gt;
Cc: Vineet Gupta &lt;vgupta@synopsys.com&gt;
Cc: linux-snps-arc@lists.infradead.org
Acked-by: Randy Dunlap &lt;rdunlap@infradead.org&gt;
Signed-off-by: Alex Deucher &lt;alexander.deucher@amd.com&gt;
</content>
</entry>
<entry>
<title>drm/amdgpu: fix NULL pointer dereference for Renoir</title>
<updated>2020-10-07T21:03:08Z</updated>
<author>
<name>Dirk Gouders</name>
<email>dirk@gouders.net</email>
</author>
<published>2020-10-01T19:55:25Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=33eade2cd27a49cd858fd7b21be8447462afe859'/>
<id>urn:sha1:33eade2cd27a49cd858fd7b21be8447462afe859</id>
<content type='text'>
Commit c1cf79ca5ced46 ("drm/amdgpu: use IP discovery table for renoir")
introduced a NULL pointer dereference when booting with
amdgpu.discovery=0, because it removed the call of vega10_reg_base_init()
for that case.

Fix this by calling that funcion if amdgpu_discovery == 0 in addition to
the case that amdgpu_discovery_reg_base_init() failed.

Fixes: c1cf79ca5ced46 ("drm/amdgpu: use IP discovery table for renoir")
Signed-off-by: Dirk Gouders &lt;dirk@gouders.net&gt;
Cc: Hawking Zhang &lt;Hawking.Zhang@amd.com&gt;
Cc: Evan Quan &lt;evan.quan@amd.com&gt;
Signed-off-by: Alex Deucher &lt;alexander.deucher@amd.com&gt;
</content>
</entry>
<entry>
<title>drm/nouveau/mem: guard against NULL pointer access in mem_del</title>
<updated>2020-10-07T05:33:09Z</updated>
<author>
<name>Karol Herbst</name>
<email>kherbst@redhat.com</email>
</author>
<published>2020-10-06T22:05:28Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=d10285a25e29f13353bbf7760be8980048c1ef2f'/>
<id>urn:sha1:d10285a25e29f13353bbf7760be8980048c1ef2f</id>
<content type='text'>
other drivers seems to do something similar

Signed-off-by: Karol Herbst &lt;kherbst@redhat.com&gt;
Cc: dri-devel &lt;dri-devel@lists.freedesktop.org&gt;
Cc: Dave Airlie &lt;airlied@redhat.com&gt;
Cc: stable@vger.kernel.org
Signed-off-by: Dave Airlie &lt;airlied@redhat.com&gt;
Link: https://patchwork.freedesktop.org/patch/msgid/20201006220528.13925-2-kherbst@redhat.com
</content>
</entry>
<entry>
<title>drm/nouveau/device: return error for unknown chipsets</title>
<updated>2020-10-07T05:33:00Z</updated>
<author>
<name>Karol Herbst</name>
<email>kherbst@redhat.com</email>
</author>
<published>2020-10-06T22:05:27Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=c3e0276c31ca8c7b8615da890727481260d4676f'/>
<id>urn:sha1:c3e0276c31ca8c7b8615da890727481260d4676f</id>
<content type='text'>
Previously the code relied on device-&gt;pri to be NULL and to fail probing
later. We really should just return an error inside nvkm_device_ctor for
unsupported GPUs.

Fixes: 24d5ff40a732 ("drm/nouveau/device: rework mmio mapping code to get rid of second map")

Signed-off-by: Karol Herbst &lt;kherbst@redhat.com&gt;
Cc: dann frazier &lt;dann.frazier@canonical.com&gt;
Cc: dri-devel &lt;dri-devel@lists.freedesktop.org&gt;
Cc: Dave Airlie &lt;airlied@redhat.com&gt;
Cc: stable@vger.kernel.org
Reviewed-by: Jeremy Cline &lt;jcline@redhat.com&gt;
Signed-off-by: Dave Airlie &lt;airlied@redhat.com&gt;
Link: https://patchwork.freedesktop.org/patch/msgid/20201006220528.13925-1-kherbst@redhat.com
</content>
</entry>
<entry>
<title>Merge tag 'amd-drm-fixes-5.9-2020-09-30' of git://people.freedesktop.org/~agd5f/linux into drm-fixes</title>
<updated>2020-10-01T05:25:33Z</updated>
<author>
<name>Dave Airlie</name>
<email>airlied@redhat.com</email>
</author>
<published>2020-10-01T05:25:32Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=132d7c8abeaa6b10ed5f47330b0f06c6dd220a43'/>
<id>urn:sha1:132d7c8abeaa6b10ed5f47330b0f06c6dd220a43</id>
<content type='text'>
amd-drm-fixes-5.9-2020-09-30:

amdgpu:
- Fix potential double free in userptr handling
- Sienna Cichlid and Navy Flounder udpates
- Add Sienna Cichlid PCI IDs
- Drop experimental flag for navi12
- Raven fixes
- Renoir fixes
- HDCP fix
- DCN3 fix for clang and older versions of gcc
- Fix a runtime pm refcount issue

Signed-off-by: Dave Airlie &lt;airlied@redhat.com&gt;
From: Alex Deucher &lt;alexdeucher@gmail.com&gt;
Link: https://patchwork.freedesktop.org/patch/msgid/20200930161326.4243-1-alexander.deucher@amd.com
</content>
</entry>
<entry>
<title>drm/amdgpu: disable gfxoff temporarily for navy_flounder</title>
<updated>2020-09-30T13:47:43Z</updated>
<author>
<name>Jiansong Chen</name>
<email>Jiansong.Chen@amd.com</email>
</author>
<published>2020-09-30T07:30:24Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=95433a1305a000aa91f558b062ce614a3bb8ceb5'/>
<id>urn:sha1:95433a1305a000aa91f558b062ce614a3bb8ceb5</id>
<content type='text'>
gfxoff is temporarily disabled for navy_flounder, since
at present the feature caused some tdr when performing
display operations.

Signed-off-by: Jiansong Chen &lt;Jiansong.Chen@amd.com&gt;
Reviewed-by: Tao Zhou &lt;tao.zhou1@amd.com&gt;
Signed-off-by: Alex Deucher &lt;alexander.deucher@amd.com&gt;
</content>
</entry>
<entry>
<title>drm/amd/pm: setup APU dpm clock table in SMU HW initialization</title>
<updated>2020-09-30T13:29:00Z</updated>
<author>
<name>Evan Quan</name>
<email>evan.quan@amd.com</email>
</author>
<published>2020-09-30T04:07:56Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=b195152536237acf65962b703394614d9c4d307b'/>
<id>urn:sha1:b195152536237acf65962b703394614d9c4d307b</id>
<content type='text'>
As the dpm clock table is needed during DC HW initialization.
And that (DC HW initialization) comes before smu_late_init()
where current APU dpm clock table setup is performed. So, NULL
pointer dereference will be triggered. By moving APU dpm clock
table setup to smu_hw_init(), this can be avoided.

Fixes: 02cf91c113ea ("drm/amd/powerplay: postpone operations not required for hw setup to late_init")
Acked-by: Nirmoy Das &lt;nirmoy.das@amd.com&gt;
Acked-by: Alex Deucher &lt;alexander.deucher@amd.com&gt;
Signed-off-by: Evan Quan &lt;evan.quan@amd.com&gt;
Reported-by: Dirk Gouders &lt;dirk@gouders.net&gt;
Signed-off-by: Alex Deucher &lt;alexander.deucher@amd.com&gt;
</content>
</entry>
<entry>
<title>drm/vmwgfx: Fix error handling in get_node</title>
<updated>2020-09-30T03:44:28Z</updated>
<author>
<name>Zack Rusin</name>
<email>zackr@vmware.com</email>
</author>
<published>2020-09-25T15:54:10Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=f54c4442893b8dfbd3aff8e903c54dfff1aef990'/>
<id>urn:sha1:f54c4442893b8dfbd3aff8e903c54dfff1aef990</id>
<content type='text'>
ttm_mem_type_manager_func.get_node was changed to return -ENOSPC
instead of setting the node pointer to NULL. Unfortunately
vmwgfx still had two places where it was explicitly converting
-ENOSPC to 0 causing regressions. This fixes those spots by
allowing -ENOSPC to be returned. That seems to fix recent
regressions with vmwgfx.

Signed-off-by: Zack Rusin &lt;zackr@vmware.com&gt;
Reviewed-by: Roland Scheidegger &lt;sroland@vmware.com&gt;
Reviewed-by: Martin Krastev &lt;krastevm@vmware.com&gt;
Sigend-off-by: Roland Scheidegger &lt;sroland@vmware.com&gt;
</content>
</entry>
<entry>
<title>drm/amd/display: remove duplicate call to rn_vbios_smu_get_smu_version()</title>
<updated>2020-09-29T21:10:31Z</updated>
<author>
<name>Dirk Gouders</name>
<email>dirk@gouders.net</email>
</author>
<published>2020-09-27T09:39:45Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=548c7ba7dc9e9dacb43bd2af00b586da48015d04'/>
<id>urn:sha1:548c7ba7dc9e9dacb43bd2af00b586da48015d04</id>
<content type='text'>
Commit 78fe9f63947a2b ("drm/amd/display: Remove DISPCLK Limit Floor for Certain SMU Versions")
added a call to rn_vbios_smu_get_smu_version() to set clk_mgr-&gt;smu_ver.
That field is initialized prior to the if-statement, already.

Fixes: 78fe9f63947a2b (drm/amd/display: Remove DISPCLK Limit Floor for Certain SMU Versions)
Signed-off-by: Dirk Gouders &lt;dirk@gouders.net&gt;
Cc: Alex Deucher &lt;alexander.deucher@amd.com&gt;
Cc: Sung Lee &lt;sung.lee@amd.com&gt;
Cc: Yongqiang Sun &lt;yongqiang.sun@amd.com&gt;
Cc: Rodrigo Siqueira &lt;Rodrigo.Siqueira@amd.com&gt;
Signed-off-by: Alex Deucher &lt;alexander.deucher@amd.com&gt;
</content>
</entry>
</feed>
