summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_doorbell.h
diff options
context:
space:
mode:
authorYong Zhao <Yong.Zhao@amd.com>2019-02-05 15:17:40 -0500
committerAlex Deucher <alexander.deucher@amd.com>2019-02-13 17:51:02 -0500
commit74b9b3ea0cb355d668eb0309d1ab57f403d52c69 (patch)
treecea92b3a1675e39cea67e41d9e8460af190c76f6 /drivers/gpu/drm/amd/amdgpu/amdgpu_doorbell.h
parent2d086fded1021d6b482dfc705bab8f085d10a496 (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/amdgpu_doorbell.h')
0 files changed, 0 insertions, 0 deletions