Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

drm/amdgpu: fix the coding style in amdgpu_ring.c

No functional change.

Signed-off-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>

authored by

Christian König and committed by
Alex Deucher
eb430969 771c8ec1

+3 -2
+3 -2
drivers/gpu/drm/amd/amdgpu/amdgpu_ring.c
··· 46 46 * wptr. The GPU then starts fetching commands and executes 47 47 * them until the pointers are equal again. 48 48 */ 49 - static int amdgpu_debugfs_ring_init(struct amdgpu_device *adev, struct amdgpu_ring *ring); 49 + static int amdgpu_debugfs_ring_init(struct amdgpu_device *adev, 50 + struct amdgpu_ring *ring); 50 51 51 52 /** 52 53 * amdgpu_ring_alloc - allocate space on the ring buffer ··· 265 264 dev_err(adev->dev, "(%d) ring next_rptr wb alloc failed\n", r); 266 265 return r; 267 266 } 268 - ring->next_rptr_gpu_addr = adev->wb.gpu_addr + (ring->next_rptr_offs * 4); 267 + ring->next_rptr_gpu_addr = adev->wb.gpu_addr + ring->next_rptr_offs * 4; 269 268 ring->next_rptr_cpu_addr = &adev->wb.wb[ring->next_rptr_offs]; 270 269 271 270 r = amdgpu_wb_get(adev, &ring->cond_exe_offs);