]> 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>
Fri, 7 Feb 2020 16:45:05 +0000 (11:45 -0500)
commit091dd43e23db4fc0f8cdaa9a120111a60ceaaaa0
tree52b11f11af7add8565d2e9441909fea11f35b9f7
parent389f945ff2d06ec955a8be40839a88d79399612c
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