diff options
author | Yong Zhao <Yong.Zhao@amd.com> | 2019-01-09 23:31:14 -0500 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2019-02-18 18:00:50 -0500 |
commit | 234441dd49bcd917d0acd23290d1c49f332a816b (patch) | |
tree | 1db39283533efb180baa2013baccc7cc2a10690f /drivers/gpu/drm/amd/display | |
parent | 1f86805adc3432e92e7d87e1ff5da9826ef56eab (diff) |
drm/amdkfd: Optimize out sdma doorbell array in kgd2kfd_shared_resources
We can directly calculate sdma doorbell indexes in the process doorbell
pages through the doorbell_index structure in amdgpu_device, so no need
to cache them in kgd2kfd_shared_resources any more. This alleviates the
adaptation needs when new SDMA configurations are introduced.
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>
Diffstat (limited to 'drivers/gpu/drm/amd/display')
0 files changed, 0 insertions, 0 deletions