]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu: add gpu harvest support for yellow carp (v2)
authorXiaomeng Hou <Xiaomeng.Hou@amd.com>
Tue, 6 Apr 2021 01:33:16 +0000 (09:33 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 4 Jun 2021 20:03:24 +0000 (16:03 -0400)
commit401e6d00b848c3969c65d02ef73cf7b960859cf3
tree127562335a37d4098be3de7b46d9b7c6da7bc59e
parent87648eb747006ee437ac1f421f6e4fe12aa8a231
drm/amdgpu: add gpu harvest support for yellow carp (v2)

Register callback in gfxhub functions to program the bypass groups in
gc_utcl2 corresponding to harvested SA.

v2: update comments (Alex)

Signed-off-by: Xiaomeng Hou <Xiaomeng.Hou@amd.com>
Signed-off-by: Aaron Liu <aaron.liu@amd.com>
Reviewed-by: Huang Rui <ray.huang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_gfxhub.h
drivers/gpu/drm/amd/amdgpu/gfxhub_v2_1.c
drivers/gpu/drm/amd/amdgpu/gmc_v10_0.c