From: Xiaojie Yuan Date: Mon, 17 Dec 2018 10:00:26 +0000 (+0800) Subject: drm/amdgpu: add navi12 asic type X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=9802f5d78b3747467644edc609393f95d0b10e61;p=openwrt%2Fstaging%2Fblogic.git drm/amdgpu: add navi12 asic type Add asic type. Signed-off-by: Xiaojie Yuan Reviewed-by: Hawking Zhang Signed-off-by: Alex Deucher --- diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c index 2363e7658d36..6cd8670bc3eb 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c @@ -103,6 +103,7 @@ static const char *amdgpu_asic_name[] = { "ARCTURUS", "NAVI10", "NAVI14", + "NAVI12", "LAST", }; diff --git a/include/drm/amd_asic_type.h b/include/drm/amd_asic_type.h index 0f5a12a99948..737a1e374f0c 100644 --- a/include/drm/amd_asic_type.h +++ b/include/drm/amd_asic_type.h @@ -52,6 +52,7 @@ enum amd_asic_type { CHIP_ARCTURUS, CHIP_NAVI10, CHIP_NAVI14, + CHIP_NAVI12, CHIP_LAST, };