]> 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)
commite8b72a0d99d91ae484a1c5528d4b1cebc87621bf
treebd8346e5e4d3171816ccd7695755b721d7858a0a
parentf575472aefb48f7a414fc168c1f5d30bd7bae768
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