From: Xiaojie Yuan Date: Thu, 16 May 2019 12:01:03 +0000 (+0800) Subject: drm/amdgpu/gfx10: set number of me(c)/pipe/queue for navi12 X-Git-Tag: for-linus-2019-09-27~66^2~17^2~40 X-Git-Url: https://git.kernel.dk/?a=commitdiff_plain;h=9ff3dba6d68db11f096d89b07c5a1db39ffdd6ff;p=linux-2.6-block.git drm/amdgpu/gfx10: set number of me(c)/pipe/queue for navi12 Same as other navi asics. Signed-off-by: Xiaojie Yuan Reviewed-by: Hawking Zhang Signed-off-by: Alex Deucher --- diff --git a/drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c b/drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c index 754a212f4381..99669c1be8dc 100644 --- a/drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c +++ b/drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c @@ -1228,6 +1228,7 @@ static int gfx_v10_0_sw_init(void *handle) switch (adev->asic_type) { case CHIP_NAVI10: case CHIP_NAVI14: + case CHIP_NAVI12: adev->gfx.me.num_me = 1; adev->gfx.me.num_pipe_per_me = 2; adev->gfx.me.num_queue_per_pipe = 1;