Commit 0617cdde authored by Alex Deucher's avatar Alex Deucher

drm/amdgpu: add nbio set_reg_remap helper

Will be used to consolidate reg remap settings and fix HDP
flushes on systems with non-4K pages.
Reviewed-by: default avatarFelix Kuehling <felix.kuehling@amd.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent 24e82654
...@@ -102,6 +102,7 @@ struct amdgpu_nbio_funcs { ...@@ -102,6 +102,7 @@ struct amdgpu_nbio_funcs {
u32 (*get_memory_partition_mode)(struct amdgpu_device *adev, u32 (*get_memory_partition_mode)(struct amdgpu_device *adev,
u32 *supp_modes); u32 *supp_modes);
u64 (*get_pcie_replay_count)(struct amdgpu_device *adev); u64 (*get_pcie_replay_count)(struct amdgpu_device *adev);
void (*set_reg_remap)(struct amdgpu_device *adev);
}; };
struct amdgpu_nbio { struct amdgpu_nbio {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment