aboutsummaryrefslogtreecommitdiffstats
path: root/common/recipes-kernel/linux/files/0334-drm-amdgpu-increment-queue-when-iterating-on-this-va.patch
diff options
context:
space:
mode:
Diffstat (limited to 'common/recipes-kernel/linux/files/0334-drm-amdgpu-increment-queue-when-iterating-on-this-va.patch')
-rw-r--r--common/recipes-kernel/linux/files/0334-drm-amdgpu-increment-queue-when-iterating-on-this-va.patch40
1 files changed, 0 insertions, 40 deletions
diff --git a/common/recipes-kernel/linux/files/0334-drm-amdgpu-increment-queue-when-iterating-on-this-va.patch b/common/recipes-kernel/linux/files/0334-drm-amdgpu-increment-queue-when-iterating-on-this-va.patch
deleted file mode 100644
index eb348de2..00000000
--- a/common/recipes-kernel/linux/files/0334-drm-amdgpu-increment-queue-when-iterating-on-this-va.patch
+++ /dev/null
@@ -1,40 +0,0 @@
-From 0fd64291031d3587753b8adc53123b277855c777 Mon Sep 17 00:00:00 2001
-From: Nicolas Iooss <nicolas.iooss_linux@m4x.org>
-Date: Sat, 1 Aug 2015 21:55:38 +0800
-Subject: [PATCH 0334/1050] drm/amdgpu: increment queue when iterating on this
- variable.
-
-gfx_v7_0_print_status contains a for loop on variable queue which does
-not update this variable between each iteration. This is bug is
-reported by clang while building allmodconfig LLVMLinux on x86_64:
-
- drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c:5126:19: error: variable
- 'queue' used in loop condition not modified in loop body
- [-Werror,-Wloop-analysis]
- for (queue = 0; queue < 8; i++) {
- ^~~~~
-
-Fix this by incrementing variable queue instead of i in this loop.
-
-Signed-off-by: Nicolas Iooss <nicolas.iooss_linux@m4x.org>
-Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
----
- drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c b/drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c
-index 2db6ab0..5c03420 100644
---- a/drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c
-+++ b/drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c
-@@ -5122,7 +5122,7 @@ static void gfx_v7_0_print_status(void *handle)
- dev_info(adev->dev, " CP_HPD_EOP_CONTROL=0x%08X\n",
- RREG32(mmCP_HPD_EOP_CONTROL));
-
-- for (queue = 0; queue < 8; i++) {
-+ for (queue = 0; queue < 8; queue++) {
- cik_srbm_select(adev, me, pipe, queue, 0);
- dev_info(adev->dev, " queue: %d\n", queue);
- dev_info(adev->dev, " CP_PQ_WPTR_POLL_CNTL=0x%08X\n",
---
-1.9.1
-