Commit f43ae2d1 authored by Jiapeng Chong's avatar Jiapeng Chong Committed by Alex Deucher

drm/amdgpu: Fix inconsistent indenting

Eliminate the follow smatch warning:

drivers/gpu/drm/amd/amdgpu/sdma_v5_0.c:449
sdma_v5_0_ring_emit_mem_sync() warn: inconsistent indenting.
Reviewed-by: default avatarChristian König <christian.koenig@amd.com>
Reported-by: default avatarAbaci Robot <abaci@linux.alibaba.com>
Signed-off-by: default avatarJiapeng Chong <jiapeng.chong@linux.alibaba.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent e0fb14c8
...@@ -440,8 +440,7 @@ static void sdma_v5_0_ring_emit_ib(struct amdgpu_ring *ring, ...@@ -440,8 +440,7 @@ static void sdma_v5_0_ring_emit_ib(struct amdgpu_ring *ring,
*/ */
static void sdma_v5_0_ring_emit_mem_sync(struct amdgpu_ring *ring) static void sdma_v5_0_ring_emit_mem_sync(struct amdgpu_ring *ring)
{ {
uint32_t gcr_cntl = uint32_t gcr_cntl = SDMA_GCR_GL2_INV | SDMA_GCR_GL2_WB | SDMA_GCR_GLM_INV |
SDMA_GCR_GL2_INV | SDMA_GCR_GL2_WB | SDMA_GCR_GLM_INV |
SDMA_GCR_GL1_INV | SDMA_GCR_GLV_INV | SDMA_GCR_GLK_INV | SDMA_GCR_GL1_INV | SDMA_GCR_GLV_INV | SDMA_GCR_GLK_INV |
SDMA_GCR_GLI_INV(1); SDMA_GCR_GLI_INV(1);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment