[PATCH] drm/amdgpu/gmc9: remove unused register defs
Christian König
ckoenig.leichtzumerken at gmail.com
Fri May 11 13:05:53 UTC 2018
Am 10.05.2018 um 22:21 schrieb Alex Deucher:
> These got moved to the new df module so no longer
> used in this file.
>
> Signed-off-by: Alex Deucher <alexander.deucher at amd.com>
Reviewed-by: Christian König <christian.koenig at amd.com>
> ---
> drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c | 14 --------------
> 1 file changed, 14 deletions(-)
>
> diff --git a/drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c b/drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c
> index 6c9f7f999532..6cccf0e0acd7 100644
> --- a/drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c
> +++ b/drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c
> @@ -43,20 +43,6 @@
> #include "gfxhub_v1_0.h"
> #include "mmhub_v1_0.h"
>
> -#define mmDF_CS_AON0_DramBaseAddress0 0x0044
> -#define mmDF_CS_AON0_DramBaseAddress0_BASE_IDX 0
> -//DF_CS_AON0_DramBaseAddress0
> -#define DF_CS_AON0_DramBaseAddress0__AddrRngVal__SHIFT 0x0
> -#define DF_CS_AON0_DramBaseAddress0__LgcyMmioHoleEn__SHIFT 0x1
> -#define DF_CS_AON0_DramBaseAddress0__IntLvNumChan__SHIFT 0x4
> -#define DF_CS_AON0_DramBaseAddress0__IntLvAddrSel__SHIFT 0x8
> -#define DF_CS_AON0_DramBaseAddress0__DramBaseAddr__SHIFT 0xc
> -#define DF_CS_AON0_DramBaseAddress0__AddrRngVal_MASK 0x00000001L
> -#define DF_CS_AON0_DramBaseAddress0__LgcyMmioHoleEn_MASK 0x00000002L
> -#define DF_CS_AON0_DramBaseAddress0__IntLvNumChan_MASK 0x000000F0L
> -#define DF_CS_AON0_DramBaseAddress0__IntLvAddrSel_MASK 0x00000700L
> -#define DF_CS_AON0_DramBaseAddress0__DramBaseAddr_MASK 0xFFFFF000L
> -
> /* add these here since we already include dce12 headers and these are for DCN */
> #define mmHUBP0_DCSURF_PRI_VIEWPORT_DIMENSION 0x055d
> #define mmHUBP0_DCSURF_PRI_VIEWPORT_DIMENSION_BASE_IDX 2
More information about the amd-gfx
mailing list