aboutsummaryrefslogtreecommitdiffstats
path: root/meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.14.71/0928-drm-amd-powerplay-Add-PP_CAP-macro.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.14.71/0928-drm-amd-powerplay-Add-PP_CAP-macro.patch')
-rw-r--r--meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.14.71/0928-drm-amd-powerplay-Add-PP_CAP-macro.patch30
1 files changed, 0 insertions, 30 deletions
diff --git a/meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.14.71/0928-drm-amd-powerplay-Add-PP_CAP-macro.patch b/meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.14.71/0928-drm-amd-powerplay-Add-PP_CAP-macro.patch
deleted file mode 100644
index 5e514fa3..00000000
--- a/meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.14.71/0928-drm-amd-powerplay-Add-PP_CAP-macro.patch
+++ /dev/null
@@ -1,30 +0,0 @@
-From 4ffa6606f2d0fa54034436559820377eda6d24e4 Mon Sep 17 00:00:00 2001
-From: Tom St Denis <tom.stdenis@amd.com>
-Date: Thu, 7 Sep 2017 07:43:33 -0400
-Subject: [PATCH 0928/4131] drm/amd/powerplay: Add PP_CAP() macro
-
-To replace common lengthy sequence that would create
-really long lines all over.
-
-Signed-off-by: Tom St Denis <tom.stdenis@amd.com>
-Reviewed-by: Rex Zhu <Rex.Zhu@amd.com>
----
- drivers/gpu/drm/amd/powerplay/inc/hardwaremanager.h | 2 ++
- 1 file changed, 2 insertions(+)
-
-diff --git a/drivers/gpu/drm/amd/powerplay/inc/hardwaremanager.h b/drivers/gpu/drm/amd/powerplay/inc/hardwaremanager.h
-index a4c8b09..03adece 100644
---- a/drivers/gpu/drm/amd/powerplay/inc/hardwaremanager.h
-+++ b/drivers/gpu/drm/amd/powerplay/inc/hardwaremanager.h
-@@ -283,6 +283,8 @@ static inline bool phm_cap_enabled(const uint32_t *caps, enum phm_platform_caps
- (1UL << (c & (PHM_MAX_NUM_CAPS_BITS_PER_FIELD - 1)))));
- }
-
-+#define PP_CAP(c) phm_cap_enabled(hwmgr->platform_descriptor.platformCaps, (c))
-+
- #define PP_PCIEGenInvalid 0xffff
- enum PP_PCIEGen {
- PP_PCIEGen1 = 0, /* PCIE 1.0 - Transfer rate of 2.5 GT/s */
---
-2.7.4
-