projects
/
platform
/
kernel
/
linux-rpi3.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bffa228
)
drm/amdgpu:minor cleanup
author
Monk Liu
<Monk.Liu@amd.com>
Mon, 6 Feb 2017 08:35:54 +0000
(16:35 +0800)
committer
Alex Deucher
<alexander.deucher@amd.com>
Thu, 30 Mar 2017 03:52:44 +0000
(23:52 -0400)
Signed-off-by: Monk Liu <Monk.Liu@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c
b/drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c
index
41c4954
..
0dfc765
100644
(file)
--- a/
drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c
+++ b/
drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c
@@
-4872,10
+4872,7
@@
static int gfx_v8_0_kiq_init_queue(struct amdgpu_ring *ring,
struct amdgpu_device *adev = ring->adev;
struct amdgpu_kiq *kiq = &adev->gfx.kiq;
uint64_t eop_gpu_addr;
- bool is_kiq = false;
-
- if (ring->funcs->type == AMDGPU_RING_TYPE_KIQ)
- is_kiq = true;
+ bool is_kiq = (ring->funcs->type == AMDGPU_RING_TYPE_KIQ);
if (is_kiq) {
eop_gpu_addr = kiq->eop_gpu_addr;