drm/amdgpu: fixes a JPEG get write/read pointer bug
Need parentheses for the micro parameters. Signed-off-by: Sonny Jiang <sonjiang@amd.com> Reviewed-by: David (Ming Qiang) Wu <David.Wu3@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
parent
26dc0448ef
commit
55ff23d9eb
|
@ -71,7 +71,8 @@
|
|||
AMDGPU_REGS_NO_KIQ, ip##_HWIP)
|
||||
|
||||
#define RREG32_SOC15_OFFSET(ip, inst, reg, offset) \
|
||||
__RREG32_SOC15_RLC__((adev->reg_offset[ip##_HWIP][inst][reg##_BASE_IDX] + reg) + offset, 0, ip##_HWIP)
|
||||
__RREG32_SOC15_RLC__((adev->reg_offset[ip##_HWIP][inst][reg##_BASE_IDX] + (reg)) + \
|
||||
(offset), 0, ip##_HWIP)
|
||||
|
||||
#define WREG32_SOC15(ip, inst, reg, value) \
|
||||
__WREG32_SOC15_RLC__((adev->reg_offset[ip##_HWIP][inst][reg##_BASE_IDX] + reg), \
|
||||
|
|
Loading…
Reference in New Issue