]> 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)
commit8eb5017d8c14360003e7fc34dc6e719e0fdcc843
tree2db73a8470108ff9c0a3c6357e734c8993f9f247
parent3e2a934a1c6b0f5c761b69827ec685ade23deb08
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