diff options
Diffstat (limited to 'common/recipes-kernel/linux/files/1087-drm-amdgpu-gfx8-fix-CP-jump-table-size.patch')
-rw-r--r-- | common/recipes-kernel/linux/files/1087-drm-amdgpu-gfx8-fix-CP-jump-table-size.patch | 36 |
1 files changed, 0 insertions, 36 deletions
diff --git a/common/recipes-kernel/linux/files/1087-drm-amdgpu-gfx8-fix-CP-jump-table-size.patch b/common/recipes-kernel/linux/files/1087-drm-amdgpu-gfx8-fix-CP-jump-table-size.patch deleted file mode 100644 index edf8f3c4..00000000 --- a/common/recipes-kernel/linux/files/1087-drm-amdgpu-gfx8-fix-CP-jump-table-size.patch +++ /dev/null @@ -1,36 +0,0 @@ -From c326bd3f43db83dce3503fa6d80e502a56071151 Mon Sep 17 00:00:00 2001 -From: Alex Deucher <alexander.deucher@amd.com> -Date: Sat, 2 Jul 2016 00:46:04 +0530 -Subject: [PATCH 1087/1110] drm/amdgpu/gfx8: fix CP jump table size -MIME-Version: 1.0 -Content-Type: text/plain; charset=UTF-8 -Content-Transfer-Encoding: 8bit - -Align to the jump table offset. Fixes hangs on some -systems with GFX PG enabled. - -Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com> -Tested-by: Nicolai Hähnle <nicolai.haehnle@amd.com> -Reviewed-by: Tom St Denis <tom.stdenis@amd.com> -Signed-off-by: Alex Deucher <alexander.deucher@amd.com> -Signed-off-by: Kalyan Alle <kalyan.alle@amd.com> ---- - drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c b/drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c -index 258bb1b..91e98fa 100644 ---- a/drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c -+++ b/drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c -@@ -1296,7 +1296,7 @@ static int gfx_v8_0_rlc_init(struct amdgpu_device *adev) - - if ((adev->asic_type == CHIP_CARRIZO) || - (adev->asic_type == CHIP_STONEY)) { -- adev->gfx.rlc.cp_table_size = (96 * 5 * 4) + (64 * 1024); /* JT + GDS */ -+ adev->gfx.rlc.cp_table_size = ALIGN(96 * 5 * 4, 2048) + (64 * 1024); /* JT + GDS */ - if (adev->gfx.rlc.cp_table_obj == NULL) { - r = amdgpu_bo_create(adev, adev->gfx.rlc.cp_table_size, PAGE_SIZE, true, - AMDGPU_GEM_DOMAIN_VRAM, --- -2.7.4 - |