OSDN Git Service

drm/amdgpu: add me/mec configurations for navi14
authorXiaojie Yuan <xiaojie.yuan@amd.com>
Tue, 25 Dec 2018 06:45:21 +0000 (14:45 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 18 Jul 2019 19:17:59 +0000 (14:17 -0500)
Add navi14 to appropriate cases.

Signed-off-by: Xiaojie Yuan <xiaojie.yuan@amd.com>
Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c

index 18f3020..df07643 100644 (file)
@@ -1164,6 +1164,7 @@ static int gfx_v10_0_sw_init(void *handle)
 
        switch (adev->asic_type) {
        case CHIP_NAVI10:
+       case CHIP_NAVI14:
                adev->gfx.me.num_me = 1;
                adev->gfx.me.num_pipe_per_me = 2;
                adev->gfx.me.num_queue_per_pipe = 1;