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)
commitbf0a60b78b61a7b31bb22e60cc7b2e7fc538d38f
tree0aa2541fc01311b25ee16e7d9b208bb7e0c581c0
parent76a5b36776aa6c0cd75b8080e24d6f69c8eb41a9
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