27 lines
843 B
Diff
27 lines
843 B
Diff
From fe059b4c373639fc5d69067e62de3f2a0e44a037 Mon Sep 17 00:00:00 2001
|
|
From: Sefa Eyeoglu <contact@scrumplex.net>
|
|
Date: Fri, 17 Mar 2023 16:50:57 +0100
|
|
Subject: [PATCH] amdgpu: allow any ctx priority
|
|
|
|
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
|
|
---
|
|
drivers/gpu/drm/amd/amdgpu/amdgpu_ctx.c | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_ctx.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_ctx.c
|
|
index d2139ac12159..c7f1d36329c8 100644
|
|
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_ctx.c
|
|
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_ctx.c
|
|
@@ -107,7 +107,7 @@ static int amdgpu_ctx_priority_permit(struct drm_file *filp,
|
|
if (drm_is_current_master(filp))
|
|
return 0;
|
|
|
|
- return -EACCES;
|
|
+ return 0;
|
|
}
|
|
|
|
static enum amdgpu_gfx_pipe_priority amdgpu_ctx_prio_to_gfx_pipe_prio(int32_t prio)
|
|
--
|
|
2.39.2
|
|
|