]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu: add timestamp counter query support for yellow carp
authorAaron Liu <aaron.liu@amd.com>
Tue, 26 Jan 2021 02:46:34 +0000 (10:46 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 4 Jun 2021 20:03:19 +0000 (16:03 -0400)
commit4cca33a944b3d0b65bc8dda06b8c375626af8c08
tree673c0d614207de10e2f5ba6803fbc710fb24c9f1
parent7c2306c743649f39d1d6275e2cd298395baa39fd
drm/amdgpu: add timestamp counter query support for yellow carp

Allows software to query HW counters to timestamp submissions.
This patch can address KFDPerfCountersTest.

Signed-off-by: Aaron Liu <aaron.liu@amd.com>
Reviewed-by: Huang Rui <ray.huang@amd.com>
Reviewed-by: chen gong <curry.gong@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c