diff options
author | Hawking Zhang <Hawking.Zhang@amd.com> | 2020-12-24 15:49:18 +0800 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2021-01-05 11:32:41 -0500 |
commit | b291a3872b5a8f105025c22a956c853779ad2326 (patch) | |
tree | 46b95f564c3942c472f98ca77fc3259c1cf00c2c /drivers/gpu/drm/amd/amdgpu/amdgpu.h | |
parent | 35c3c89a859257833333396c458b5b087a5b8ed3 (diff) | |
download | linux-b291a3872b5a8f105025c22a956c853779ad2326.tar.bz2 |
drm/amdgpu: add amdgpu_hdp structure
amdgpu_hdp hold all the callbacks for hdp
Signed-off-by: Hawking Zhang <Hawking.Zhang@amd.com>
Reviewed-by: Likun Gao <Likun.Gao@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu.h')
-rw-r--r-- | drivers/gpu/drm/amd/amdgpu/amdgpu.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu.h b/drivers/gpu/drm/amd/amdgpu/amdgpu.h index e119185210de..f534135bd417 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu.h +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu.h @@ -107,6 +107,7 @@ #include "amdgpu_gfxhub.h" #include "amdgpu_df.h" #include "amdgpu_smuio.h" +#include "amdgpu_hdp.h" #define MAX_GPU_INSTANCE 16 @@ -921,6 +922,9 @@ struct amdgpu_device { /* nbio */ struct amdgpu_nbio nbio; + /* hdp */ + struct amdgpu_hdp hdp; + /* smuio */ struct amdgpu_smuio smuio; |