diff options
author | Yong Zhao <Yong.Zhao@amd.com> | 2019-02-05 15:17:40 -0500 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2019-02-13 17:51:02 -0500 |
commit | 74b9b3ea0cb355d668eb0309d1ab57f403d52c69 (patch) | |
tree | cea92b3a1675e39cea67e41d9e8460af190c76f6 /drivers/gpu/drm/amd/amdgpu/vega20_reg_init.c | |
parent | 2d086fded1021d6b482dfc705bab8f085d10a496 (diff) |
drm/amdgpu: Fix bugs in setting CP RB/MEC DOORBELL_RANGE registers
CP_RB_DOORBELL_RANGE_LOWER/UPPER and CP_MEC_DOORBELL_RANGE_LOWER/UPPER
are used for waking up an idle scheduler and for power gating support.
Usually the first few doorbells in pci doorbell bar are used for RB
and all leftover for MEC. This patch fixes the incorrect settings.
Theoretically, gfx ring doorbells should come before all MEC doorbells
to be consistent with the design. However, since the doorbell
allocations are agreed by all and we are not free to change them, also
considering the kernel MEC ring doorbells which are before gfx ring
doorbells are not used often, we compromise by leaving the doorbell
allocations unchanged.
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/amdgpu/vega20_reg_init.c')
0 files changed, 0 insertions, 0 deletions