Commit b0ac2a32 authored by Alex Deucher's avatar Alex Deucher

drm/amdgpu/gfx8: whitespace cleanup

Reviewed-by: default avatarChristian König <christian.koenig@amd.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent 0d52c6a1
...@@ -7363,8 +7363,8 @@ static int gfx_v8_0_compute_mqd_soft_init(struct amdgpu_device *adev) ...@@ -7363,8 +7363,8 @@ static int gfx_v8_0_compute_mqd_soft_init(struct amdgpu_device *adev)
ring = &adev->gfx.kiq.ring; ring = &adev->gfx.kiq.ring;
if (!ring->mqd_obj) { if (!ring->mqd_obj) {
r = amdgpu_bo_create_kernel(adev, sizeof(struct vi_mqd), PAGE_SIZE, r = amdgpu_bo_create_kernel(adev, sizeof(struct vi_mqd), PAGE_SIZE,
AMDGPU_GEM_DOMAIN_GTT, &ring->mqd_obj, AMDGPU_GEM_DOMAIN_GTT, &ring->mqd_obj,
&ring->mqd_gpu_addr, &ring->mqd_ptr); &ring->mqd_gpu_addr, &ring->mqd_ptr);
if (r) { if (r) {
dev_warn(adev->dev, "failed to create ring mqd ob (%d)", r); dev_warn(adev->dev, "failed to create ring mqd ob (%d)", r);
return r; return r;
...@@ -7377,13 +7377,12 @@ static int gfx_v8_0_compute_mqd_soft_init(struct amdgpu_device *adev) ...@@ -7377,13 +7377,12 @@ static int gfx_v8_0_compute_mqd_soft_init(struct amdgpu_device *adev)
} }
/* create MQD for each KCQ */ /* create MQD for each KCQ */
for (i = 0; i < adev->gfx.num_compute_rings; i++) for (i = 0; i < adev->gfx.num_compute_rings; i++) {
{
ring = &adev->gfx.compute_ring[i]; ring = &adev->gfx.compute_ring[i];
if (!ring->mqd_obj) { if (!ring->mqd_obj) {
r = amdgpu_bo_create_kernel(adev, sizeof(struct vi_mqd), PAGE_SIZE, r = amdgpu_bo_create_kernel(adev, sizeof(struct vi_mqd), PAGE_SIZE,
AMDGPU_GEM_DOMAIN_GTT, &ring->mqd_obj, AMDGPU_GEM_DOMAIN_GTT, &ring->mqd_obj,
&ring->mqd_gpu_addr, &ring->mqd_ptr); &ring->mqd_gpu_addr, &ring->mqd_ptr);
if (r) { if (r) {
dev_warn(adev->dev, "failed to create ring mqd ob (%d)", r); dev_warn(adev->dev, "failed to create ring mqd ob (%d)", r);
return r; return r;
......
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