]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu/gmc9: add a new gfxhub 1.1 helper for xgmi
authorAlex Deucher <alexander.deucher@amd.com>
Tue, 19 Jun 2018 22:03:27 +0000 (17:03 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 11 Sep 2018 03:46:22 +0000 (22:46 -0500)
commit8ccaefd2d257bdb89f907a4da982579182bf8b8c
tree0aa2541fc01311b25ee16e7d9b208bb7e0c581c0
parent44ebbd7cb902c5df2bc5a1d42195833f910b45eb
drm/amdgpu/gmc9: add a new gfxhub 1.1 helper for xgmi

Used to populate the xgmi info on vega20.

v2: PF_MAX_REGION is val - 1 (Ray)

Acked-by: Huang Rui <ray.huang@amd.com>
Acked-by: Slava Abramov <slava.abramov@amd.com>
Reviewed-by :Shaoyun liu <Shaoyun.liu@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Acked-by: Christian König <christian.koenig@amd.com>
Signed-off-by :Shaoyun liu <Shaoyun.liu@amd.com>
drivers/gpu/drm/amd/amdgpu/Makefile
drivers/gpu/drm/amd/amdgpu/gfxhub_v1_1.c [new file with mode: 0644]
drivers/gpu/drm/amd/amdgpu/gfxhub_v1_1.h [new file with mode: 0644]
drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c