]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
drm/amdgpu: Setting doorbell range registers earlier
authorOak Zeng <Oak.Zeng@amd.com>
Mon, 14 Jan 2019 22:32:53 +0000 (16:32 -0600)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 25 Jan 2019 21:15:34 +0000 (16:15 -0500)
commit7c94bc828ee7e7e64f31e40bb967b6417d7e6382
tree62a6fd3961a66f6168ec5d3aeee8761c6104474b
parent8987e2e256be3551436a5abc3c48d0eb4d81084e
drm/amdgpu: Setting doorbell range registers earlier

HW doorbell writing routing policy: writing to doorbell
not in SDMA/IH/MM/ACV doorbell range will be routed to CP.
So CP doorbell routing depends on doorbell range setting
of above blocks. Setting doorbell range of above blocks
earlier (soc15_common_hw_init) to make sure CP doorbell
writing be routed to CP block.

Signed-off-by: Oak Zeng <Oak.Zeng@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c
drivers/gpu/drm/amd/amdgpu/soc15.c
drivers/gpu/drm/amd/amdgpu/vega10_ih.c