aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/cik.c
diff options
context:
space:
mode:
authorYong Zhao <[email protected]>2019-12-13 16:31:48 +0000
committerAlex Deucher <[email protected]>2020-01-14 15:17:05 +0000
commita434b94c5a6c56ea7078d43d932284005e08ed62 (patch)
tree3ae31b5c61c08ee325ca557b3082553e42519c70 /drivers/gpu/drm/amd/amdgpu/cik.c
parentdrm/amdgpu/display: Use u64 divide macro for round up division (diff)
downloadkernel-a434b94c5a6c56ea7078d43d932284005e08ed62.tar.gz
kernel-a434b94c5a6c56ea7078d43d932284005e08ed62.zip
drm/amdkfd: Improve function get_sdma_rlc_reg_offset() (v2)
The SOC15_REG_OFFSET() macro needs to dereference adev->reg_offset[IP] pointer, which is sometimes NULL when there are fewer than 8 sdma engines. Avoid that by not initializing the array regardless. v2: squash in warning fixes Signed-off-by: Yong Zhao <[email protected]> Reviewed-by: Felix Kuehling <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/cik.c')
0 files changed, 0 insertions, 0 deletions