]> Git Repo - linux.git/commitdiff
drm/amdgpu: add gmc v9 block support for Aldebaran
authorLe Ma <[email protected]>
Tue, 12 Nov 2019 07:06:01 +0000 (15:06 +0800)
committerAlex Deucher <[email protected]>
Wed, 10 Mar 2021 05:01:51 +0000 (00:01 -0500)
Add gfx memory controller support

Signed-off-by: Le Ma <[email protected]>
Reviewed-by: Hawking Zhang <[email protected]>
Acked-by: Evan Quan <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c

index 3686e777c76cb232cfbfbafc66680bb1a073db34..d9f4955f293ccdcf83c2e87ad99fcd24b37b766d 100644 (file)
@@ -50,6 +50,7 @@
 #include "athub_v1_0.h"
 #include "gfxhub_v1_1.h"
 #include "mmhub_v9_4.h"
+#include "mmhub_v1_7.h"
 #include "umc_v6_1.h"
 #include "umc_v6_0.h"
 
@@ -1249,6 +1250,7 @@ static int gmc_v9_0_mc_init(struct amdgpu_device *adev)
                case CHIP_VEGA12:  /* all engines support GPUVM */
                case CHIP_VEGA20:
                case CHIP_ARCTURUS:
+               case CHIP_ALDEBARAN:
                default:
                        adev->gmc.gart_size = 512ULL << 20;
                        break;
@@ -1352,6 +1354,7 @@ static int gmc_v9_0_sw_init(void *handle)
        case CHIP_VEGA12:
        case CHIP_VEGA20:
        case CHIP_RENOIR:
+       case CHIP_ALDEBARAN:
                adev->num_vmhubs = 2;
 
 
This page took 0.056964 seconds and 4 git commands to generate.