Skip to content

Commit baa5ede

Browse files
Ran Sunalexdeucher
authored andcommitted
drm/amdgpu: Clean up errors in amdgpu_virt.c
Fix the following errors reported by checkpatch: ERROR: space required before the open parenthesis '(' Signed-off-by: Ran Sun <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
1 parent 1b01c01 commit baa5ede

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -520,7 +520,7 @@ static int amdgpu_virt_read_pf2vf_data(struct amdgpu_device *adev)
520520
tmp = ((struct amd_sriov_msg_pf2vf_info *)pf2vf_info)->mm_bw_management[i].encode_max_frame_pixels;
521521
adev->virt.encode_max_frame_pixels = max(tmp, adev->virt.encode_max_frame_pixels);
522522
}
523-
if((adev->virt.decode_max_dimension_pixels > 0) || (adev->virt.encode_max_dimension_pixels > 0))
523+
if ((adev->virt.decode_max_dimension_pixels > 0) || (adev->virt.encode_max_dimension_pixels > 0))
524524
adev->virt.is_mm_bw_enabled = true;
525525

526526
adev->unique_id =

0 commit comments

Comments
 (0)