aboutsummaryrefslogtreecommitdiffstats
path: root/meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.19.8/2143-drm-amdgpu-add-navi10-asic-type.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.19.8/2143-drm-amdgpu-add-navi10-asic-type.patch')
-rw-r--r--meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.19.8/2143-drm-amdgpu-add-navi10-asic-type.patch41
1 files changed, 41 insertions, 0 deletions
diff --git a/meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.19.8/2143-drm-amdgpu-add-navi10-asic-type.patch b/meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.19.8/2143-drm-amdgpu-add-navi10-asic-type.patch
new file mode 100644
index 00000000..24e39aff
--- /dev/null
+++ b/meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.19.8/2143-drm-amdgpu-add-navi10-asic-type.patch
@@ -0,0 +1,41 @@
+From 2873e1faa39711ec549227ce3a8948dc9ccaa8a4 Mon Sep 17 00:00:00 2001
+From: Huang Rui <ray.huang@amd.com>
+Date: Tue, 18 Jul 2017 19:27:55 +0800
+Subject: [PATCH 2143/2940] drm/amdgpu: add navi10 asic type
+
+Signed-off-by: Huang Rui <ray.huang@amd.com>
+Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
+Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com>
+Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
+---
+ drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | 1 +
+ include/drm/amd_asic_type.h | 1 +
+ 2 files changed, 2 insertions(+)
+
+diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
+index 82a66292f13f..b595b92e2b99 100644
+--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
++++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
+@@ -94,6 +94,7 @@ static const char *amdgpu_asic_name[] = {
+ "VEGA12",
+ "VEGA20",
+ "RAVEN",
++ "NAVI10",
+ "LAST",
+ };
+
+diff --git a/include/drm/amd_asic_type.h b/include/drm/amd_asic_type.h
+index 5644fc679d6f..630fb73b2750 100644
+--- a/include/drm/amd_asic_type.h
++++ b/include/drm/amd_asic_type.h
+@@ -50,6 +50,7 @@ enum amd_asic_type {
+ CHIP_VEGA20,
+ CHIP_RAVEN,
+ CHIP_PICASSO,
++ CHIP_NAVI10,
+ CHIP_LAST,
+ };
+
+--
+2.17.1
+