diff options
Diffstat (limited to 'common/recipes-kernel/linux/files/0385-drm-amd-powerplay-use-pp_endian.h-for-Fiji.patch')
-rw-r--r-- | common/recipes-kernel/linux/files/0385-drm-amd-powerplay-use-pp_endian.h-for-Fiji.patch | 48 |
1 files changed, 0 insertions, 48 deletions
diff --git a/common/recipes-kernel/linux/files/0385-drm-amd-powerplay-use-pp_endian.h-for-Fiji.patch b/common/recipes-kernel/linux/files/0385-drm-amd-powerplay-use-pp_endian.h-for-Fiji.patch deleted file mode 100644 index 6d807903..00000000 --- a/common/recipes-kernel/linux/files/0385-drm-amd-powerplay-use-pp_endian.h-for-Fiji.patch +++ /dev/null @@ -1,48 +0,0 @@ -From 8f71fec1d8a3adab7c808e89b68fa3ca758e0272 Mon Sep 17 00:00:00 2001 -From: Alex Deucher <alexander.deucher@amd.com> -Date: Wed, 6 Jan 2016 13:00:16 -0500 -Subject: [PATCH 0385/1110] drm/amd/powerplay: use pp_endian.h for Fiji -MIME-Version: 1.0 -Content-Type: text/plain; charset=UTF-8 -Content-Transfer-Encoding: 8bit - -Drop local versions of these macros. - -Reviewed-by: Michel Dänzer <michel.daenzer@amd.com> -Reviewed-by: Ken Wang <Qingqing.Wang@amd.com> -Signed-off-by: Alex Deucher <alexander.deucher@amd.com> ---- - drivers/gpu/drm/amd/powerplay/hwmgr/fiji_hwmgr.h | 12 +----------- - 1 file changed, 1 insertion(+), 11 deletions(-) - -diff --git a/drivers/gpu/drm/amd/powerplay/hwmgr/fiji_hwmgr.h b/drivers/gpu/drm/amd/powerplay/hwmgr/fiji_hwmgr.h -index 22e273b..a16f7cd 100644 ---- a/drivers/gpu/drm/amd/powerplay/hwmgr/fiji_hwmgr.h -+++ b/drivers/gpu/drm/amd/powerplay/hwmgr/fiji_hwmgr.h -@@ -29,6 +29,7 @@ - #include "smu73_discrete.h" - #include "ppatomctrl.h" - #include "fiji_ppsmc.h" -+#include "pp_endian.h" - - #define FIJI_MAX_HARDWARE_POWERLEVELS 2 - #define FIJI_AT_DFLT 30 -@@ -347,15 +348,4 @@ int fiji_update_samu_dpm(struct pp_hwmgr *hwmgr, bool bgate); - int fiji_update_acp_dpm(struct pp_hwmgr *hwmgr, bool bgate); - int fiji_enable_disable_vce_dpm(struct pp_hwmgr *hwmgr, bool enable); - --#define PP_HOST_TO_SMC_UL(X) cpu_to_be32(X) --#define PP_SMC_TO_HOST_UL(X) be32_to_cpu(X) -- --#define PP_HOST_TO_SMC_US(X) cpu_to_be16(X) --#define PP_SMC_TO_HOST_US(X) be16_to_cpu(X) -- --#define CONVERT_FROM_HOST_TO_SMC_UL(X) ((X) = PP_HOST_TO_SMC_UL(X)) --#define CONVERT_FROM_SMC_TO_HOST_UL(X) ((X) = PP_SMC_TO_HOST_UL(X)) -- --#define CONVERT_FROM_HOST_TO_SMC_US(X) ((X) = PP_HOST_TO_SMC_US(X)) -- - #endif /* _FIJI_HWMGR_H_ */ --- -2.7.4 - |