diff options
Diffstat (limited to 'common/recipes-kernel/linux/linux-yocto-4.14.71/0078-drm-amd-display-remove-some-unused-wrappers.patch')
-rw-r--r-- | common/recipes-kernel/linux/linux-yocto-4.14.71/0078-drm-amd-display-remove-some-unused-wrappers.patch | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/common/recipes-kernel/linux/linux-yocto-4.14.71/0078-drm-amd-display-remove-some-unused-wrappers.patch b/common/recipes-kernel/linux/linux-yocto-4.14.71/0078-drm-amd-display-remove-some-unused-wrappers.patch new file mode 100644 index 00000000..e9e539e4 --- /dev/null +++ b/common/recipes-kernel/linux/linux-yocto-4.14.71/0078-drm-amd-display-remove-some-unused-wrappers.patch @@ -0,0 +1,31 @@ +From 17b02a4eb29e39c67a48213cd2c984529dc16519 Mon Sep 17 00:00:00 2001 +From: Dave Airlie <airlied@redhat.com> +Date: Tue, 13 Dec 2016 16:41:06 +1000 +Subject: [PATCH 0078/4131] drm/amd/display: remove some unused wrappers + +Signed-off-by: Dave Airlie <airlied@redhat.com> +Reviewed-by: Tony Cheng <Tony.Cheng@amd.com> +Acked-by: Harry Wentland <Harry.Wentland@amd.com> +Signed-off-by: Alex Deucher <alexander.deucher@amd.com> +--- + drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_services.c | 4 ---- + 1 file changed, 4 deletions(-) + +diff --git a/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_services.c b/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_services.c +index 9d51259..9c852a3 100644 +--- a/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_services.c ++++ b/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_services.c +@@ -36,10 +36,6 @@ + #include "amdgpu_dm_types.h" + #include "amdgpu_pm.h" + +-#define dm_alloc(size) kzalloc(size, GFP_KERNEL) +-#define dm_realloc(ptr, size) krealloc(ptr, size, GFP_KERNEL) +-#define dm_free(ptr) kfree(ptr) +- + /****************************************************************************** + * IRQ Interfaces. + *****************************************************************************/ +-- +2.7.4 + |