Commit c38e0691 authored by Christian König's avatar Christian König Committed by Alex Deucher

drm/amdgpu: minor coding style fix

Fix two minor 80 char issues.
Signed-off-by: default avatarChristian König <christian.koenig@amd.com>
Reviewed-by: default avatarFelix Kuehling <Felix.Kuehling@amd.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent 648bc357
...@@ -2541,7 +2541,8 @@ static uint32_t amdgpu_vm_get_block_size(uint64_t vm_size) ...@@ -2541,7 +2541,8 @@ static uint32_t amdgpu_vm_get_block_size(uint64_t vm_size)
* @adev: amdgpu_device pointer * @adev: amdgpu_device pointer
* @fragment_size_default: the default fragment size if it's set auto * @fragment_size_default: the default fragment size if it's set auto
*/ */
void amdgpu_vm_set_fragment_size(struct amdgpu_device *adev, uint32_t fragment_size_default) void amdgpu_vm_set_fragment_size(struct amdgpu_device *adev,
uint32_t fragment_size_default)
{ {
if (amdgpu_vm_fragment_size == -1) if (amdgpu_vm_fragment_size == -1)
adev->vm_manager.fragment_size = fragment_size_default; adev->vm_manager.fragment_size = fragment_size_default;
...@@ -2555,7 +2556,8 @@ void amdgpu_vm_set_fragment_size(struct amdgpu_device *adev, uint32_t fragment_s ...@@ -2555,7 +2556,8 @@ void amdgpu_vm_set_fragment_size(struct amdgpu_device *adev, uint32_t fragment_s
* @adev: amdgpu_device pointer * @adev: amdgpu_device pointer
* @vm_size: the default vm size if it's set auto * @vm_size: the default vm size if it's set auto
*/ */
void amdgpu_vm_adjust_size(struct amdgpu_device *adev, uint64_t vm_size, uint32_t fragment_size_default) void amdgpu_vm_adjust_size(struct amdgpu_device *adev, uint64_t vm_size,
uint32_t fragment_size_default)
{ {
/* adjust vm size firstly */ /* adjust vm size firstly */
if (amdgpu_vm_size == -1) if (amdgpu_vm_size == -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