Re: [PATCH] drm/amdgpu: Fix build error when !CONFIG_PERF_EVENTS

2019-10-04 Thread Alex Deucher
On Thu, Oct 3, 2019 at 10:13 PM Huacai Chen wrote: > > In previous release amdgpu_pmu.o is only built when CONFIG_PERF_EVENTS > is selected. But after commit 64f55e629237e4752db1 ("drm/amdgpu: Add RAS > EEPROM table.") it is duplicated in amdgpu-y. This change causes a build > error when !CONFIG_P

[PATCH] drm/amdgpu: Fix build error when !CONFIG_PERF_EVENTS

2019-10-03 Thread Huacai Chen
In previous release amdgpu_pmu.o is only built when CONFIG_PERF_EVENTS is selected. But after commit 64f55e629237e4752db1 ("drm/amdgpu: Add RAS EEPROM table.") it is duplicated in amdgpu-y. This change causes a build error when !CONFIG_PERF_EVENTS, so fix it. Fixes: 64f55e629237e4752db1 ("drm/amdg