projects
/
linux-2.6-microblaze.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bf4e4b9
)
drm/amdgpu: remove duplicated argument wptr_va
author
Qiang Liu
<liuqiang@kylinos.cn>
Tue, 12 Aug 2025 12:30:21 +0000
(20:30 +0800)
committer
Alex Deucher
<alexander.deucher@amd.com>
Fri, 15 Aug 2025 17:07:25 +0000
(13:07 -0400)
The duplicate judgment of wptr_va could be removed to simplify the logic
Signed-off-by: Qiang Liu <liuqiang@kylinos.cn>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_userq.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/amd/amdgpu/amdgpu_userq.c
b/drivers/gpu/drm/amd/amdgpu/amdgpu_userq.c
index
c3ace80
..
86cabb2
100644
(file)
--- a/
drivers/gpu/drm/amd/amdgpu/amdgpu_userq.c
+++ b/
drivers/gpu/drm/amd/amdgpu/amdgpu_userq.c
@@
-567,7
+567,6
@@
int amdgpu_userq_ioctl(struct drm_device *dev, void *data,
args->in.queue_size ||
args->in.rptr_va ||
args->in.wptr_va ||
- args->in.wptr_va ||
args->in.mqd ||
args->in.mqd_size)
return -EINVAL;