]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu: fix amdgpu pmu to use hwc->config instead of hwc->conf
authorJonathan Kim <jonathan.kim@amd.com>
Thu, 6 Feb 2020 16:57:11 +0000 (11:57 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 11 Feb 2020 20:35:54 +0000 (15:35 -0500)
commitef73bd2f1146670b5fa23357f0a7ee00532e0c52
treebd8346e5e4d3171816ccd7695755b721d7858a0a
parent052d63ae19da7c0373794d966c953111c926d62c
drm/amdgpu: fix amdgpu pmu to use hwc->config instead of hwc->conf

hwc->conf was designated specifically for AMD APU IOMMU purposes.  This
could cause problems in performance and/or function since APU IOMMU
implementation is elsewhere.  Also hwc->conf and hwc->config are
different members of an anonymous union so hwc->conf aliases as
hw->last_tag.

Signed-off-by: Jonathan Kim <Jonathan.Kim@amd.com>
Reviewed-by: Felix Kuehling <Felix.Kuehling@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_pmu.c