linux/drivers/gpu/drm/amd
Yong Zhao a434b94c5a 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 <Yong.Zhao@amd.com>
Reviewed-by: Felix Kuehling <Felix.Kuehling@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2020-01-14 10:17:05 -05:00
..
acp drm/amdgpu: fix license on Kconfig and Makefiles 2019-12-11 15:22:08 -05:00
amdgpu drm/amdkfd: Improve function get_sdma_rlc_reg_offset() (v2) 2020-01-14 10:17:05 -05:00
amdkfd drm/amdkfd: Improve kfd_process lookup in kfd_ioctl 2020-01-09 16:08:19 -05:00
display drm/amdgpu/display: Use u64 divide macro for round up division 2020-01-14 10:16:43 -05:00
include drm/amdgpu: update the method to get fb_loc of memory training(V4) 2019-12-23 14:59:20 -05:00
powerplay drm/amd/powerplay: cleanup the interfaces for powergate setting through SMU 2020-01-07 12:01:54 -05:00