[PATCH 31/42] drm/amd/soc15: Add external_rev_id for vega12.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Feifei Xu <Feifei.Xu@xxxxxxx>

Add external_rev_id for vega12.

Signed-off-by: Feifei Xu <Feifei.Xu at amd.com>
Signed-off-by: Alex Deucher <alexander.deucher at amd.com>
---
 drivers/gpu/drm/amd/amdgpu/soc15.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/gpu/drm/amd/amdgpu/soc15.c b/drivers/gpu/drm/amd/amdgpu/soc15.c
index 0ad9272c7a5d..e308c3c6ca4f 100644
--- a/drivers/gpu/drm/amd/amdgpu/soc15.c
+++ b/drivers/gpu/drm/amd/amdgpu/soc15.c
@@ -672,7 +672,7 @@ static int soc15_common_early_init(void *handle)
 			AMD_CG_SUPPORT_VCE_MGCG |
 			AMD_CG_SUPPORT_UVD_MGCG;
 		adev->pg_flags = 0;
-		adev->external_rev_id = 0x1; /* ??? */
+		adev->external_rev_id = adev->rev_id + 0x14;
 		break;
 	case CHIP_RAVEN:
 		adev->cg_flags = AMD_CG_SUPPORT_GFX_MGCG |
-- 
2.13.6



[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux