[PATCH] drm/amdgpu/soc15: fix external_rev_id for navi14
Yin, Tianci (Rico)
Tianci.Yin at amd.com
Mon Aug 5 10:16:44 UTC 2019
Thanks Hawking, I'll take care of the difference on topic branch and drm-next.
-----Original Message-----
From: Zhang, Hawking <Hawking.Zhang at amd.com>
Sent: Monday, August 5, 2019 5:49 PM
To: Zhang, Hawking <Hawking.Zhang at amd.com>; Yin, Tianci (Rico) <Tianci.Yin at amd.com>; amd-gfx at lists.freedesktop.org
Cc: Xiao, Jack <Jack.Xiao at amd.com>; Yin, Tianci (Rico) <Tianci.Yin at amd.com>; Yuan, Xiaojie <Xiaojie.Yuan at amd.com>
Subject: RE: [PATCH] drm/amdgpu/soc15: fix external_rev_id for navi14
BTW, please make sure you have the latest drm-next code base. The deleted code seems like in some topic branch.
Regards,
Hawking
-----Original Message-----
From: amd-gfx <amd-gfx-bounces at lists.freedesktop.org> On Behalf Of Zhang, Hawking
Sent: 2019年8月5日 17:45
To: Yin, Tianci (Rico) <Tianci.Yin at amd.com>; amd-gfx at lists.freedesktop.org
Cc: Xiao, Jack <Jack.Xiao at amd.com>; Yin, Tianci (Rico) <Tianci.Yin at amd.com>; Yuan, Xiaojie <Xiaojie.Yuan at amd.com>
Subject: RE: [PATCH] drm/amdgpu/soc15: fix external_rev_id for navi14
Reviewed-by: Hawking Zhang <Hawking.Zhang at amd.com>
Regards,
Hawking
-----Original Message-----
From: Tianci Yin <tianci.yin at amd.com>
Sent: 2019年8月5日 17:35
To: amd-gfx at lists.freedesktop.org
Cc: Zhang, Hawking <Hawking.Zhang at amd.com>; Xiao, Jack <Jack.Xiao at amd.com>; Yuan, Xiaojie <Xiaojie.Yuan at amd.com>; Yin, Tianci (Rico) <Tianci.Yin at amd.com>
Subject: [PATCH] drm/amdgpu/soc15: fix external_rev_id for navi14
From: tiancyin <tianci.yin at amd.com>
fix the hard code external_rev_id.
Change-Id: I7b46f7b49b6d0586d1fa282d4961815fb124379b
Signed-off-by: tiancyin <tianci.yin at amd.com>
---
drivers/gpu/drm/amd/amdgpu/nv.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/gpu/drm/amd/amdgpu/nv.c b/drivers/gpu/drm/amd/amdgpu/nv.c index 9bce6a1..2f45bf2 100644
--- a/drivers/gpu/drm/amd/amdgpu/nv.c
+++ b/drivers/gpu/drm/amd/amdgpu/nv.c
@@ -546,7 +546,7 @@ static int nv_common_early_init(void *handle)
AMD_CG_SUPPORT_BIF_LS;
adev->pg_flags = AMD_PG_SUPPORT_VCN |
AMD_PG_SUPPORT_VCN_DPG;
- adev->external_rev_id = 20;
+ adev->external_rev_id = adev->rev_id + 20;
break;
default:
/* FIXME: not supported yet */
--
2.7.4
_______________________________________________
amd-gfx mailing list
amd-gfx at lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/amd-gfx
More information about the amd-gfx
mailing list