Skip to content

Commit a788b54

Browse files
Ran Sunalexdeucher
authored andcommitted
drm/amdgpu: Clean up errors in uvd_v7_0.c
Fix the following errors reported by checkpatch: ERROR: spaces required around that ':' (ctx:VxE) that open brace { should be on the previous line Signed-off-by: Ran Sun <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
1 parent 7163dad commit a788b54

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

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

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -679,11 +679,11 @@ static void uvd_v7_0_mc_resume(struct amdgpu_device *adev)
679679
if (adev->firmware.load_type == AMDGPU_FW_LOAD_PSP) {
680680
WREG32_SOC15(UVD, i, mmUVD_LMI_VCPU_CACHE_64BIT_BAR_LOW,
681681
i == 0 ?
682-
adev->firmware.ucode[AMDGPU_UCODE_ID_UVD].tmr_mc_addr_lo:
682+
adev->firmware.ucode[AMDGPU_UCODE_ID_UVD].tmr_mc_addr_lo :
683683
adev->firmware.ucode[AMDGPU_UCODE_ID_UVD1].tmr_mc_addr_lo);
684684
WREG32_SOC15(UVD, i, mmUVD_LMI_VCPU_CACHE_64BIT_BAR_HIGH,
685685
i == 0 ?
686-
adev->firmware.ucode[AMDGPU_UCODE_ID_UVD].tmr_mc_addr_hi:
686+
adev->firmware.ucode[AMDGPU_UCODE_ID_UVD].tmr_mc_addr_hi :
687687
adev->firmware.ucode[AMDGPU_UCODE_ID_UVD1].tmr_mc_addr_hi);
688688
WREG32_SOC15(UVD, i, mmUVD_VCPU_CACHE_OFFSET0, 0);
689689
offset = 0;
@@ -1908,8 +1908,7 @@ static void uvd_v7_0_set_irq_funcs(struct amdgpu_device *adev)
19081908
}
19091909
}
19101910

1911-
const struct amdgpu_ip_block_version uvd_v7_0_ip_block =
1912-
{
1911+
const struct amdgpu_ip_block_version uvd_v7_0_ip_block = {
19131912
.type = AMD_IP_BLOCK_TYPE_UVD,
19141913
.major = 7,
19151914
.minor = 0,

0 commit comments

Comments
 (0)