aboutsummaryrefslogtreecommitdiffstats
path: root/meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.19.8/2401-drm-amdgpu-VCN2.0-remove-unused-Macro-and-declaratio.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.19.8/2401-drm-amdgpu-VCN2.0-remove-unused-Macro-and-declaratio.patch')
-rw-r--r--meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.19.8/2401-drm-amdgpu-VCN2.0-remove-unused-Macro-and-declaratio.patch39
1 files changed, 39 insertions, 0 deletions
diff --git a/meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.19.8/2401-drm-amdgpu-VCN2.0-remove-unused-Macro-and-declaratio.patch b/meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.19.8/2401-drm-amdgpu-VCN2.0-remove-unused-Macro-and-declaratio.patch
new file mode 100644
index 00000000..466b720f
--- /dev/null
+++ b/meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.19.8/2401-drm-amdgpu-VCN2.0-remove-unused-Macro-and-declaratio.patch
@@ -0,0 +1,39 @@
+From cca2672d53eb89e18028a593e6c47c6907d876af Mon Sep 17 00:00:00 2001
+From: Leo Liu <leo.liu@amd.com>
+Date: Tue, 14 May 2019 12:55:54 -0400
+Subject: [PATCH 2401/2940] drm/amdgpu/VCN2.0 remove unused Macro and
+ declaration
+
+Just for cleanup
+
+Signed-off-by: Leo Liu <leo.liu@amd.com>
+Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
+Reviewed-by: James Zhu <James.Zhu@amd.com>
+Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
+---
+ drivers/gpu/drm/amd/amdgpu/vcn_v2_0.c | 2 --
+ 1 file changed, 2 deletions(-)
+
+diff --git a/drivers/gpu/drm/amd/amdgpu/vcn_v2_0.c b/drivers/gpu/drm/amd/amdgpu/vcn_v2_0.c
+index dcb148994ed7..5782f79dbe04 100644
+--- a/drivers/gpu/drm/amd/amdgpu/vcn_v2_0.c
++++ b/drivers/gpu/drm/amd/amdgpu/vcn_v2_0.c
+@@ -45,7 +45,6 @@
+ #define mmUVD_LMI_RBC_IB_64BIT_BAR_HIGH_INTERNAL_OFFSET 0x5a6
+ #define mmUVD_LMI_RBC_IB_64BIT_BAR_LOW_INTERNAL_OFFSET 0x5a7
+ #define mmUVD_RBC_IB_SIZE_INTERNAL_OFFSET 0x1e2
+-#define mmUVD_GPCOM_SYS_CMD_INTERNAL_OFFSET 0x1bF
+
+ #define mmUVD_JRBC_EXTERNAL_REG_INTERNAL_OFFSET 0x1bfff
+ #define mmUVD_JPEG_GPCOM_CMD_INTERNAL_OFFSET 0x4029
+@@ -67,7 +66,6 @@
+
+ #define JRBC_DEC_EXTERNAL_REG_WRITE_ADDR 0x18000
+
+-static int vcn_v2_0_stop(struct amdgpu_device *adev);
+ static void vcn_v2_0_set_dec_ring_funcs(struct amdgpu_device *adev);
+ static void vcn_v2_0_set_enc_ring_funcs(struct amdgpu_device *adev);
+ static void vcn_v2_0_set_jpeg_ring_funcs(struct amdgpu_device *adev);
+--
+2.17.1
+