diff options
| author | John Clements <[email protected]> | 2020-01-17 04:18:00 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2020-01-22 21:34:07 +0000 |
| commit | a6c44d2538c469f412c3fded0de2290494d762d7 (patch) | |
| tree | 2ac46dbffc4c602d4209c11fecb131a94d3c468e /drivers/gpu/drm/amd/amdgpu/amdgpu_df.h | |
| parent | drm/amdgpu: modify packet size for pm4 flush tlbs (diff) | |
| download | kernel-a6c44d2538c469f412c3fded0de2290494d762d7.tar.gz kernel-a6c44d2538c469f412c3fded0de2290494d762d7.zip | |
drm/amdgpu: added support to get mGPU DRAM base
resolves issue with RAS error injection in mGPU configuration
Reviewed-by: Hawking Zhang <[email protected]>
Signed-off-by: John Clements <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_df.h')
| -rw-r--r-- | drivers/gpu/drm/amd/amdgpu/amdgpu_df.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_df.h b/drivers/gpu/drm/amd/amdgpu/amdgpu_df.h index 61a26c15c8dd..057f6ea645d7 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_df.h +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_df.h @@ -52,6 +52,9 @@ struct amdgpu_df_funcs { uint64_t (*get_fica)(struct amdgpu_device *adev, uint32_t ficaa_val); void (*set_fica)(struct amdgpu_device *adev, uint32_t ficaa_val, uint32_t ficadl_val, uint32_t ficadh_val); + uint64_t (*get_dram_base_addr)(struct amdgpu_device *adev, + uint32_t df_inst); + uint32_t (*get_df_inst_id)(struct amdgpu_device *adev); }; struct amdgpu_df { |
