1
0
Fork 0
alistair23-linux/drivers/gpu/drm/amd
Arnd Bergmann ec3e5c0f0c drm/amdgpu: make pmu support optional, again
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 = &event->hw;
                                     ~~~~~  ^
drivers/gpu/drm/amd/amdgpu/amdgpu_pmu.c:51:13: error: no member named 'attr' in 'struct perf_event'
        if (event->attr.type != event->pmu->type)
            ~~~~~  ^
...

The same bug was already fixed by commit d155bef063 ("amdgpu: make pmu
support optional") but broken again by what looks like an incorrectly
rebased patch.

Fixes: 64f55e6292 ("drm/amdgpu: Add RAS EEPROM table.")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2019-10-02 12:58:33 -05:00
..
acp treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
amdgpu drm/amdgpu: make pmu support optional, again 2019-10-02 12:58:33 -05:00
amdkfd drm fixes for 5.4-rc1 2019-09-27 11:13:35 -07:00
display drm/amd/display: memory leak 2019-10-02 12:58:33 -05:00
include drm/amd/display: update renoir_ip_offset.h 2019-09-17 14:22:29 -05:00
powerplay drm/amd/powerplay: add sensor lock support for smu 2019-10-02 12:23:05 -05:00