diff options
Diffstat (limited to 'common/recipes-kernel/linux/linux-yocto-4.14.71/4375-drm-amdgpu-gmc9-remove-unused-register-defs.patch')
-rw-r--r-- | common/recipes-kernel/linux/linux-yocto-4.14.71/4375-drm-amdgpu-gmc9-remove-unused-register-defs.patch | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/common/recipes-kernel/linux/linux-yocto-4.14.71/4375-drm-amdgpu-gmc9-remove-unused-register-defs.patch b/common/recipes-kernel/linux/linux-yocto-4.14.71/4375-drm-amdgpu-gmc9-remove-unused-register-defs.patch new file mode 100644 index 00000000..cae60227 --- /dev/null +++ b/common/recipes-kernel/linux/linux-yocto-4.14.71/4375-drm-amdgpu-gmc9-remove-unused-register-defs.patch @@ -0,0 +1,45 @@ +From ca99f900301f56663ef331cf7aba6effa866f558 Mon Sep 17 00:00:00 2001 +From: Alex Deucher <alexander.deucher@amd.com> +Date: Thu, 10 May 2018 15:10:14 -0500 +Subject: [PATCH 4375/5725] drm/amdgpu/gmc9: remove unused register defs +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit + +These got moved to the new df module so no longer +used in this file. + +Reviewed-by: Christian König <christian.koenig@amd.com> +Signed-off-by: Alex Deucher <alexander.deucher@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 108e06f..35cea8d 100644 +--- a/drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c ++++ b/drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c +@@ -42,20 +42,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 +-- +2.7.4 + |