aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_df.h
diff options
context:
space:
mode:
authorJonathan Kim <[email protected]>2020-08-04 20:26:20 +0000
committerAlex Deucher <[email protected]>2020-09-15 21:52:42 +0000
commit7c679ef6678c7718d6c7284e6f9dd8dd4c27d4e4 (patch)
treed068d493010778a3abcbab7c8fb5b3071ff8cc96 /drivers/gpu/drm/amd/amdgpu/amdgpu_df.h
parentdrm/radeon: revert "Prefer lower feedback dividers" (diff)
downloadkernel-7c679ef6678c7718d6c7284e6f9dd8dd4c27d4e4.tar.gz
kernel-7c679ef6678c7718d6c7284e6f9dd8dd4c27d4e4.zip
drm/amdgpu: stop resetting xgmi perfmons on disable
Disabling perf events does not specify reset in ABI so stop doing it in hardware. Signed-off-by: Jonathan Kim <[email protected]> Reviewed-by: Harish Kasiviswanathan <[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.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_df.h b/drivers/gpu/drm/amd/amdgpu/amdgpu_df.h
index 61a26c15c8dd..373cdebe0e2f 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_df.h
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_df.h
@@ -44,9 +44,9 @@ struct amdgpu_df_funcs {
void (*enable_ecc_force_par_wr_rmw)(struct amdgpu_device *adev,
bool enable);
int (*pmc_start)(struct amdgpu_device *adev, uint64_t config,
- int is_enable);
+ int is_add);
int (*pmc_stop)(struct amdgpu_device *adev, uint64_t config,
- int is_disable);
+ int is_remove);
void (*pmc_get_count)(struct amdgpu_device *adev, uint64_t config,
uint64_t *count);
uint64_t (*get_fica)(struct amdgpu_device *adev, uint32_t ficaa_val);