]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu: Add first_non_cp and last_non_cp in amdgpu_doorbell_index
authorYong Zhao <Yong.Zhao@amd.com>
Wed, 13 Feb 2019 18:13:50 +0000 (13:13 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 18 Feb 2019 23:00:16 +0000 (18:00 -0500)
commit369f7d28c628194da3805d5e21fb64383cbdf3c7
tree2db73a8470108ff9c0a3c6357e734c8993f9f247
parenta101b1f8eee7f8714d459411164f50985b540ea8
drm/amdgpu: Add first_non_cp and last_non_cp in amdgpu_doorbell_index

They will be used to inform KFD the doorbell range not usable for CP.

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>
drivers/gpu/drm/amd/amdgpu/amdgpu_doorbell.h
drivers/gpu/drm/amd/amdgpu/vega10_reg_init.c
drivers/gpu/drm/amd/amdgpu/vega20_reg_init.c