OSDN Git Service

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)
commitb3accd6f6642699cc50bcf9a43d4c5f878f23eee
tree127562335a37d4098be3de7b46d9b7c6da7bc59e
parent9df5b9bd8b69d27c007ed67ca2cf8495e8f848ae
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