]> asedeno.scripts.mit.edu Git - linux.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)
commitbdf84a80e0ce5f60f4f41a27b4cf74bcfabcea56
treecbae7af55b2f4d3660edbe3fbdfbfdfa7383c9df
parent61e50646f0bbfb24002c4935e1ed9bf04ae4266e
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