Re: [PATCH 1/2] amdgpu: make pmu support optional

2019-07-08 Thread Alex Deucher
On Mon, Jul 8, 2019 at 10:42 AM Arnd Bergmann wrote: > > When CONFIG_PERF_EVENTS is disabled, we cannot compile the pmu > portion of the amdgpu driver: > > drivers/gpu/drm/amd/amdgpu/amdgpu_pmu.c:48:38: error: no member named 'hw' in > 'struct perf_event' > struct hw_perf_event *hwc =

[PATCH 1/2] amdgpu: make pmu support optional

2019-07-08 Thread Arnd Bergmann
When CONFIG_PERF_EVENTS is disabled, we cannot compile the pmu portion of the amdgpu driver: drivers/gpu/drm/amd/amdgpu/amdgpu_pmu.c:48:38: error: no member named 'hw' in 'struct perf_event' struct hw_perf_event *hwc = >hw; ~ ^