summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm
diff options
context:
space:
mode:
authorLeo Liu <leo.liu@amd.com>2019-05-14 12:55:54 -0400
committerAlex Deucher <alexander.deucher@amd.com>2019-06-21 18:59:32 -0500
commitb3ef5ce0379b4a440d89b7731efc7384aff9efe1 (patch)
tree8c0d30ad7b7b36f08460ba3eb40f939bdff9b9ce /drivers/gpu/drm
parent0c83d32c565c9f40cb686df5ad65ade8ec85a876 (diff)
downloadlinux-b3ef5ce0379b4a440d89b7731efc7384aff9efe1.tar.gz
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>
Diffstat (limited to 'drivers/gpu/drm')
-rw-r--r--drivers/gpu/drm/amd/amdgpu/vcn_v2_0.c2
1 files changed, 0 insertions, 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 729d3232f0ad..3c9bc3c3fdf4 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);