diff options
Diffstat (limited to 'common/recipes-kernel/linux/files/0200-drm-amdgpu-remove-unused-cg-defines.patch')
-rw-r--r-- | common/recipes-kernel/linux/files/0200-drm-amdgpu-remove-unused-cg-defines.patch | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/common/recipes-kernel/linux/files/0200-drm-amdgpu-remove-unused-cg-defines.patch b/common/recipes-kernel/linux/files/0200-drm-amdgpu-remove-unused-cg-defines.patch new file mode 100644 index 00000000..97dceaf3 --- /dev/null +++ b/common/recipes-kernel/linux/files/0200-drm-amdgpu-remove-unused-cg-defines.patch @@ -0,0 +1,36 @@ +From 5548db570cf9b33dc0f176296c0916e8d330393a Mon Sep 17 00:00:00 2001 +From: Alex Deucher <alexander.deucher@amd.com> +Date: Fri, 5 Feb 2016 10:37:29 -0500 +Subject: [PATCH 0200/1110] drm/amdgpu: remove unused cg defines + +Leftover from radeon. + +Reviewed-by: Eric Huang <JinHuiEric.Huang@amd.com> +Signed-off-by: Alex Deucher <alexander.deucher@amd.com> +--- + drivers/gpu/drm/amd/amdgpu/amdgpu.h | 9 --------- + 1 file changed, 9 deletions(-) + +diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu.h b/drivers/gpu/drm/amd/amdgpu/amdgpu.h +index cb51310..084f0df 100644 +--- a/drivers/gpu/drm/amd/amdgpu/amdgpu.h ++++ b/drivers/gpu/drm/amd/amdgpu/amdgpu.h +@@ -134,15 +134,6 @@ extern unsigned amdgpu_pcie_lane_cap; + #define AMDGPU_RESET_VCE (1 << 13) + #define AMDGPU_RESET_VCE1 (1 << 14) + +-/* CG block flags */ +-#define AMDGPU_CG_BLOCK_GFX (1 << 0) +-#define AMDGPU_CG_BLOCK_MC (1 << 1) +-#define AMDGPU_CG_BLOCK_SDMA (1 << 2) +-#define AMDGPU_CG_BLOCK_UVD (1 << 3) +-#define AMDGPU_CG_BLOCK_VCE (1 << 4) +-#define AMDGPU_CG_BLOCK_HDP (1 << 5) +-#define AMDGPU_CG_BLOCK_BIF (1 << 6) +- + /* CG flags */ + #define AMDGPU_CG_SUPPORT_GFX_MGCG (1 << 0) + #define AMDGPU_CG_SUPPORT_GFX_MGLS (1 << 1) +-- +2.7.4 + |