]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu: fix sdma doorbell issue on SDMA v6.0 and NBIO v7.7
authorXiaojian Du <Xiaojian.Du@amd.com>
Fri, 20 May 2022 13:33:29 +0000 (21:33 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 3 Jun 2022 20:44:15 +0000 (16:44 -0400)
commitae613122f27c020003da003039c37a8e44f7bc88
tree344f3366571e2687648f1eedc5e5b4d1ce41cf16
parente4a1811956b0eabee2dae4e66fc332ec47b7070b
drm/amdgpu: fix sdma doorbell issue on SDMA v6.0 and NBIO v7.7

This patch will fix sdma doorbell issue on SDMA v6.0 and NBIO v7.7.0.
NBIO v7.7.0 uses a new reg function -- Common SDMA to allow a common
doorbell range for all SDMA queues, this is different to the old
NBIO version. This patch will add configuration for CSDMA and enable
SDMA doorbell function.

Signed-off-by: Xiaojian Du <Xiaojian.Du@amd.com>
Reviewed-by: Tim Huang <Tim.Huang@amd.com>
Reviewed-by: Huang Rui <ray.huang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/nbio_v7_7.c