Commit 640a28b5 authored by Jonathan Kim's avatar Jonathan Kim Committed by Alex Deucher

drm/amdgpu: add missing df counter disable write

Request to stop DF performance counters is missing the actual write to the
controller register.
Reported-by: default avatarChris Freehill <chris.freehill@amd.com>
Signed-off-by: default avatarJonathan Kim <jonathan.kim@amd.com>
Acked-by: default avatarAlex Deucher <alexander.deucher@amd.com>
Reviewed-by: default avatarHarish Kasiviswanathan <harish.kasiviswanathan@amd.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent b8cc3e50
...@@ -568,6 +568,8 @@ static int df_v3_6_pmc_stop(struct amdgpu_device *adev, uint64_t config, ...@@ -568,6 +568,8 @@ static int df_v3_6_pmc_stop(struct amdgpu_device *adev, uint64_t config,
if (ret) if (ret)
return ret; return ret;
df_v3_6_perfmon_wreg(adev, lo_base_addr, lo_val,
hi_base_addr, hi_val);
if (is_remove) { if (is_remove) {
df_v3_6_reset_perfmon_cntr(adev, config, counter_idx); df_v3_6_reset_perfmon_cntr(adev, config, counter_idx);
......
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