aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_df.h
diff options
context:
space:
mode:
authorHawking Zhang <[email protected]>2020-05-04 14:30:05 +0000
committerAlex Deucher <[email protected]>2020-05-08 18:32:10 +0000
commit890900fe77b1321078c6d2e038e4150f06c16698 (patch)
tree0515fe95024207e1230f478deb7e7ab52103e19e /drivers/gpu/drm/amd/amdgpu/amdgpu_df.h
parentdrm/amdgpu: switch to common rlc_autoload helper (diff)
downloadkernel-890900fe77b1321078c6d2e038e4150f06c16698.tar.gz
kernel-890900fe77b1321078c6d2e038e4150f06c16698.zip
drm/amdgpu: use node_id and node_size to calcualte dram_base_address
physical_node_id * node_segment_size should be the dram_base_address for current gpu node in xgmi config Signed-off-by: Hawking Zhang <[email protected]> Reviewed-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.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_df.h b/drivers/gpu/drm/amd/amdgpu/amdgpu_df.h
index 057f6ea645d7..61a26c15c8dd 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_df.h
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_df.h
@@ -52,9 +52,6 @@ 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 {