]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu/sriov: Use kiq to copy the gpu clock
authorEmily Deng <Emily.Deng@amd.com>
Thu, 27 Feb 2020 01:47:13 +0000 (09:47 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 28 Feb 2020 21:59:21 +0000 (16:59 -0500)
commitd32b19c1ffa89723128b26c89eeed88c42fcda95
treeade0bdf4d7cfced4b43353a03ad84a80e9b2db0c
parent9fe4c44763516c7eefee115cfbc1f082d1f0725f
drm/amdgpu/sriov: Use kiq to copy the gpu clock

For vega10 sriov, the register is blocked, use
copy data command to fix the issue.

v2: Rename amdgpu_kiq_read_clock to gfx_v9_0_kiq_read_clock.

Signed-off-by: Emily Deng <Emily.Deng@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c