]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu: Create generic DF struct in adev
authorJoseph Greathouse <Joseph.Greathouse@amd.com>
Tue, 14 Jan 2020 15:05:21 +0000 (10:05 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 14 Jan 2020 15:18:41 +0000 (10:18 -0500)
commita386e5d4c27fd3bf61d0718e339d3fd0831dc22c
treecbae7af55b2f4d3660edbe3fbdfbfdfa7383c9df
parent018d59e7cc56f30d7963d5adb272b319b070f63d
drm/amdgpu: Create generic DF struct in adev

The only data fabric information the adev struct currently
contains is a function pointer table. In the near future,
we will be adding some cached DF information into adev. As
such, this patch creates a new amdgpu_df struct for adev.
Right now, it only containst the old function pointer table,
but new stuff will be added soon.

Signed-off-by: Joseph Greathouse <Joseph.Greathouse@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu.h
drivers/gpu/drm/amd/amdgpu/amdgpu_df.h [new file with mode: 0644]
drivers/gpu/drm/amd/amdgpu/amdgpu_pmu.c
drivers/gpu/drm/amd/amdgpu/amdgpu_xgmi.c
drivers/gpu/drm/amd/amdgpu/df_v1_7.c
drivers/gpu/drm/amd/amdgpu/df_v3_6.c
drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c
drivers/gpu/drm/amd/amdgpu/soc15.c