]> git.baikalelectronics.ru Git - kernel.git/commitdiff
drm/amdgpu/vcn: fix typo error
authorJames Zhu <James.Zhu@amd.com>
Tue, 21 Jan 2020 21:28:07 +0000 (16:28 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 27 Jan 2020 21:46:44 +0000 (16:46 -0500)
Fix typo error, should be inst_idx instead of inst.

Signed-off-by: James Zhu <James.Zhu@amd.com>
Reviewed-by: Leo Liu <leo.liu@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.h

index c4984c5fb2dbb7743274f7c08bdef1f40755eb8d..56984ff09ea9b1867ba519a32cb297d91ce35c32 100644 (file)
 
 #define RREG32_SOC15_DPG_MODE_2_0(inst_idx, offset, mask_en)                                   \
        ({                                                                                      \
-               WREG32_SOC15(VCN, inst, mmUVD_DPG_LMA_CTL,                                      \
+               WREG32_SOC15(VCN, inst_idx, mmUVD_DPG_LMA_CTL,                                  \
                        (0x0 << UVD_DPG_LMA_CTL__READ_WRITE__SHIFT |                            \
                        mask_en << UVD_DPG_LMA_CTL__MASK_EN__SHIFT |                            \
                        offset << UVD_DPG_LMA_CTL__READ_WRITE_ADDR__SHIFT));                    \