diff options
Diffstat (limited to 'meta-v1000/recipes-kernel/linux/linux-yocto-4.14.71/0019-drm-amdgpu-Moving-amdgpu-asic-types-to-a-separate-fi.patch')
-rw-r--r-- | meta-v1000/recipes-kernel/linux/linux-yocto-4.14.71/0019-drm-amdgpu-Moving-amdgpu-asic-types-to-a-separate-fi.patch | 121 |
1 files changed, 0 insertions, 121 deletions
diff --git a/meta-v1000/recipes-kernel/linux/linux-yocto-4.14.71/0019-drm-amdgpu-Moving-amdgpu-asic-types-to-a-separate-fi.patch b/meta-v1000/recipes-kernel/linux/linux-yocto-4.14.71/0019-drm-amdgpu-Moving-amdgpu-asic-types-to-a-separate-fi.patch deleted file mode 100644 index 2ccdb4bc..00000000 --- a/meta-v1000/recipes-kernel/linux/linux-yocto-4.14.71/0019-drm-amdgpu-Moving-amdgpu-asic-types-to-a-separate-fi.patch +++ /dev/null @@ -1,121 +0,0 @@ -From 63983eec27bf869d3ac226a84b1e3a676317058b Mon Sep 17 00:00:00 2001 -From: Akshu Agrawal <akshu.agrawal@amd.com> -Date: Wed, 28 Jun 2017 14:08:09 +0530 -Subject: [PATCH 0019/4131] drm/amdgpu Moving amdgpu asic types to a separate - file - -Amdgpu asic types will be required for other drivers too. -Hence, its better to keep it in a separate include file. - -Reviewed-by: Alex Deucher <alexander.deucher@amd.com> -Signed-off-by: Akshu Agrawal <akshu.agrawal@amd.com> -Signed-off-by: Alex Deucher <alexander.deucher@amd.com> -Signed-off-by: Kalyan Alle <kalyan.alle@amd.com> ---- - drivers/gpu/drm/amd/include/amd_shared.h | 29 ++---------------- - include/drm/amd_asic_type.h | 52 ++++++++++++++++++++++++++++++++ - 2 files changed, 54 insertions(+), 27 deletions(-) - create mode 100644 include/drm/amd_asic_type.h - -diff --git a/drivers/gpu/drm/amd/include/amd_shared.h b/drivers/gpu/drm/amd/include/amd_shared.h -index 70e8c20..3a49fbd 100644 ---- a/drivers/gpu/drm/amd/include/amd_shared.h -+++ b/drivers/gpu/drm/amd/include/amd_shared.h -@@ -23,34 +23,9 @@ - #ifndef __AMD_SHARED_H__ - #define __AMD_SHARED_H__ - --#define AMD_MAX_USEC_TIMEOUT 200000 /* 200 ms */ -+#include <drm/amd_asic_type.h> - --/* -- * Supported ASIC types -- */ --enum amd_asic_type { -- CHIP_TAHITI = 0, -- CHIP_PITCAIRN, -- CHIP_VERDE, -- CHIP_OLAND, -- CHIP_HAINAN, -- CHIP_BONAIRE, -- CHIP_KAVERI, -- CHIP_KABINI, -- CHIP_HAWAII, -- CHIP_MULLINS, -- CHIP_TOPAZ, -- CHIP_TONGA, -- CHIP_FIJI, -- CHIP_CARRIZO, -- CHIP_STONEY, -- CHIP_POLARIS10, -- CHIP_POLARIS11, -- CHIP_POLARIS12, -- CHIP_VEGA10, -- CHIP_RAVEN, -- CHIP_LAST, --}; -+#define AMD_MAX_USEC_TIMEOUT 200000 /* 200 ms */ - - /* - * Chip flags -diff --git a/include/drm/amd_asic_type.h b/include/drm/amd_asic_type.h -new file mode 100644 -index 0000000..599028f ---- /dev/null -+++ b/include/drm/amd_asic_type.h -@@ -0,0 +1,52 @@ -+/* -+ * Copyright 2017 Advanced Micro Devices, Inc. -+ * -+ * Permission is hereby granted, free of charge, to any person obtaining a -+ * copy of this software and associated documentation files (the "Software"), -+ * to deal in the Software without restriction, including without limitation -+ * the rights to use, copy, modify, merge, publish, distribute, sublicense, -+ * and/or sell copies of the Software, and to permit persons to whom the -+ * Software is furnished to do so, subject to the following conditions: -+ * -+ * The above copyright notice and this permission notice shall be included in -+ * all copies or substantial portions of the Software. -+ * -+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL -+ * THE COPYRIGHT HOLDER(S) OR AUTHOR(S) BE LIABLE FOR ANY CLAIM, DAMAGES OR -+ * OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, -+ * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR -+ * OTHER DEALINGS IN THE SOFTWARE. -+ */ -+ -+#ifndef __AMD_ASIC_TYPE_H__ -+#define __AMD_ASIC_TYPE_H__ -+/* -+ * Supported ASIC types -+ */ -+enum amd_asic_type { -+ CHIP_TAHITI = 0, -+ CHIP_PITCAIRN, -+ CHIP_VERDE, -+ CHIP_OLAND, -+ CHIP_HAINAN, -+ CHIP_BONAIRE, -+ CHIP_KAVERI, -+ CHIP_KABINI, -+ CHIP_HAWAII, -+ CHIP_MULLINS, -+ CHIP_TOPAZ, -+ CHIP_TONGA, -+ CHIP_FIJI, -+ CHIP_CARRIZO, -+ CHIP_STONEY, -+ CHIP_POLARIS10, -+ CHIP_POLARIS11, -+ CHIP_POLARIS12, -+ CHIP_VEGA10, -+ CHIP_RAVEN, -+ CHIP_LAST, -+}; -+ -+#endif /*__AMD_ASIC_TYPE_H__ */ --- -2.7.4 - |