提交 640a28b5 编写于 作者: J Jonathan Kim 提交者: 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: NChris Freehill <chris.freehill@amd.com>
Signed-off-by: NJonathan Kim <jonathan.kim@amd.com>
Acked-by: NAlex Deucher <alexander.deucher@amd.com>
Reviewed-by: NHarish Kasiviswanathan <harish.kasiviswanathan@amd.com>
Signed-off-by: NAlex Deucher <alexander.deucher@amd.com>
上级 b8cc3e50
......@@ -568,6 +568,8 @@ static int df_v3_6_pmc_stop(struct amdgpu_device *adev, uint64_t config,
if (ret)
return ret;
df_v3_6_perfmon_wreg(adev, lo_base_addr, lo_val,
hi_base_addr, hi_val);
if (is_remove) {
df_v3_6_reset_perfmon_cntr(adev, config, counter_idx);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册