projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7c4f4f1
)
drm/amdgpu: enable tmz by default for GC 10.3.7
author
Sunil Khatri
<sunil.khatri@amd.com>
Mon, 30 May 2022 17:54:09 +0000
(23:24 +0530)
committer
Alex Deucher
<alexander.deucher@amd.com>
Fri, 3 Jun 2022 20:27:00 +0000
(16:27 -0400)
Add IP GC 10.3.7 in the list of target to have
tmz enabled by default.
Signed-off-by: Sunil Khatri <sunil.khatri@amd.com>
Reviewed-by: Alexander Deucher <Alexander.Deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Cc: stable@vger.kernel.org # 5.18.x
drivers/gpu/drm/amd/amdgpu/amdgpu_gmc.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/amd/amdgpu/amdgpu_gmc.c
b/drivers/gpu/drm/amd/amdgpu/amdgpu_gmc.c
index 798c56214a2390180a25cfb39f04b086a62c7ce4..aebc384531ac8fc100209dae588abc5408b4d614 100644
(file)
--- a/
drivers/gpu/drm/amd/amdgpu/amdgpu_gmc.c
+++ b/
drivers/gpu/drm/amd/amdgpu/amdgpu_gmc.c
@@
-518,6
+518,8
@@
void amdgpu_gmc_tmz_set(struct amdgpu_device *adev)
case IP_VERSION(9, 1, 0):
/* RENOIR looks like RAVEN */
case IP_VERSION(9, 3, 0):
+ /* GC 10.3.7 */
+ case IP_VERSION(10, 3, 7):
if (amdgpu_tmz == 0) {
adev->gmc.tmz_enabled = false;
dev_info(adev->dev,
@@
-540,8
+542,6
@@
void amdgpu_gmc_tmz_set(struct amdgpu_device *adev)
case IP_VERSION(10, 3, 1):
/* YELLOW_CARP*/
case IP_VERSION(10, 3, 3):
- /* GC 10.3.7 */
- case IP_VERSION(10, 3, 7):
/* Don't enable it by default yet.
*/
if (amdgpu_tmz < 1) {