diff options
Diffstat (limited to 'meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.19.8/2884-drm-amdgpu-drop-dead-header.patch')
-rw-r--r-- | meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.19.8/2884-drm-amdgpu-drop-dead-header.patch | 72 |
1 files changed, 72 insertions, 0 deletions
diff --git a/meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.19.8/2884-drm-amdgpu-drop-dead-header.patch b/meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.19.8/2884-drm-amdgpu-drop-dead-header.patch new file mode 100644 index 00000000..e27cc2fe --- /dev/null +++ b/meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.19.8/2884-drm-amdgpu-drop-dead-header.patch @@ -0,0 +1,72 @@ +From 66cc95130eca931a1fe8c63d933ddc45d4aa4e01 Mon Sep 17 00:00:00 2001 +From: Alex Deucher <alexander.deucher@amd.com> +Date: Tue, 16 Jul 2019 09:28:41 -0500 +Subject: [PATCH 2884/2940] drm/amdgpu: drop dead header +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit + +Not used anymore. + +Acked-by: Christian König <christian.koenig@amd.com> +Noticed-by: Dave Airlie <airlied@gmail.com> +Signed-off-by: Alex Deucher <alexander.deucher@amd.com> +--- + drivers/gpu/drm/amd/amdgpu/vi.c | 1 - + drivers/gpu/drm/amd/amdgpu/vi_dpm.h | 32 ----------------------------- + 2 files changed, 33 deletions(-) + delete mode 100644 drivers/gpu/drm/amd/amdgpu/vi_dpm.h + +diff --git a/drivers/gpu/drm/amd/amdgpu/vi.c b/drivers/gpu/drm/amd/amdgpu/vi.c +index b8adf3808de2..fffae4c2973b 100644 +--- a/drivers/gpu/drm/amd/amdgpu/vi.c ++++ b/drivers/gpu/drm/amd/amdgpu/vi.c +@@ -57,7 +57,6 @@ + + #include "vid.h" + #include "vi.h" +-#include "vi_dpm.h" + #include "gmc_v8_0.h" + #include "gmc_v7_0.h" + #include "gfx_v8_0.h" +diff --git a/drivers/gpu/drm/amd/amdgpu/vi_dpm.h b/drivers/gpu/drm/amd/amdgpu/vi_dpm.h +deleted file mode 100644 +index c43e03fddfba..000000000000 +--- a/drivers/gpu/drm/amd/amdgpu/vi_dpm.h ++++ /dev/null +@@ -1,32 +0,0 @@ +-/* +- * Copyright 2014 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 __VI_DPM_H__ +-#define __VI_DPM_H__ +- +-extern const struct amd_ip_funcs cz_dpm_ip_funcs; +-int cz_smu_init(struct amdgpu_device *adev); +-int cz_smu_start(struct amdgpu_device *adev); +-int cz_smu_fini(struct amdgpu_device *adev); +- +-#endif +-- +2.17.1 + |