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)
commit828845b7c86c5338f6ca02aaaaf4b525718f31b2
tree2db73a8470108ff9c0a3c6357e734c8993f9f247
parent7452394310a9eac283fdbb31261b19e50fa3e546
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