aboutsummaryrefslogtreecommitdiffstats
path: root/common/recipes-kernel/linux/files/0333-drm-amdgpu-fix-rb-setting-for-CZ.patch
diff options
context:
space:
mode:
Diffstat (limited to 'common/recipes-kernel/linux/files/0333-drm-amdgpu-fix-rb-setting-for-CZ.patch')
-rw-r--r--common/recipes-kernel/linux/files/0333-drm-amdgpu-fix-rb-setting-for-CZ.patch64
1 files changed, 0 insertions, 64 deletions
diff --git a/common/recipes-kernel/linux/files/0333-drm-amdgpu-fix-rb-setting-for-CZ.patch b/common/recipes-kernel/linux/files/0333-drm-amdgpu-fix-rb-setting-for-CZ.patch
deleted file mode 100644
index 91aff362..00000000
--- a/common/recipes-kernel/linux/files/0333-drm-amdgpu-fix-rb-setting-for-CZ.patch
+++ /dev/null
@@ -1,64 +0,0 @@
-From a0e2f50bdb588d91a553f2f6bd56be7bedc94b1a Mon Sep 17 00:00:00 2001
-From: Alex Deucher <alexander.deucher@amd.com>
-Date: Wed, 8 Jul 2015 22:23:38 -0400
-Subject: [PATCH 0333/1050] drm/amdgpu: fix rb setting for CZ
-MIME-Version: 1.0
-Content-Type: text/plain; charset=UTF-8
-Content-Transfer-Encoding: 8bit
-
-Always set num_rbs to 2 for CZ. The 1 RB parts are often harvest
-configs. The will get sorted out in mesa when we program
-PA_SC_RASTER_CONFIG[_1].
-
-Acked-by: Christian König <christian.koenig@amd.com>
-Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
----
- drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c | 5 +----
- 1 file changed, 1 insertion(+), 4 deletions(-)
-
-diff --git a/drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c b/drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c
-index 9e1d4dd..f7538dd 100644
---- a/drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c
-+++ b/drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c
-@@ -1983,6 +1983,7 @@ static void gfx_v8_0_gpu_init(struct amdgpu_device *adev)
- adev->gfx.config.max_shader_engines = 1;
- adev->gfx.config.max_tile_pipes = 2;
- adev->gfx.config.max_sh_per_se = 1;
-+ adev->gfx.config.max_backends_per_se = 2;
-
- switch (adev->pdev->revision) {
- case 0xc4:
-@@ -1991,7 +1992,6 @@ static void gfx_v8_0_gpu_init(struct amdgpu_device *adev)
- case 0xcc:
- /* B10 */
- adev->gfx.config.max_cu_per_sh = 8;
-- adev->gfx.config.max_backends_per_se = 2;
- break;
- case 0xc5:
- case 0x81:
-@@ -2000,14 +2000,12 @@ static void gfx_v8_0_gpu_init(struct amdgpu_device *adev)
- case 0xcd:
- /* B8 */
- adev->gfx.config.max_cu_per_sh = 6;
-- adev->gfx.config.max_backends_per_se = 2;
- break;
- case 0xc6:
- case 0xca:
- case 0xce:
- /* B6 */
- adev->gfx.config.max_cu_per_sh = 6;
-- adev->gfx.config.max_backends_per_se = 2;
- break;
- case 0xc7:
- case 0x87:
-@@ -2015,7 +2013,6 @@ static void gfx_v8_0_gpu_init(struct amdgpu_device *adev)
- default:
- /* B4 */
- adev->gfx.config.max_cu_per_sh = 4;
-- adev->gfx.config.max_backends_per_se = 1;
- break;
- }
-
---
-1.9.1
-