drm/amdgpu: add pmu counters
authorJonathan Kim <jonathan.kim@amd.com>
Thu, 20 Jun 2019 03:56:25 +0000 (23:56 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 20 Jun 2019 16:36:22 +0000 (11:36 -0500)
commit9c7c85f7ea1fe55e9406858e3ca32a51494bd02e
treed097140f5873497999fbaad971ac35beb02e13a0
parente4cf4bf5b876df83ad42604e21337eb3e7dfa52c
drm/amdgpu: add pmu counters

adding perf event counters

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/Makefile
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
drivers/gpu/drm/amd/amdgpu/amdgpu_pmu.c [new file with mode: 0644]
drivers/gpu/drm/amd/amdgpu/amdgpu_pmu.h [new file with mode: 0644]