Star64_linux/drivers/gpu/drm/amd
Arnd Bergmann cedf788459 drm/amdgpu: fix debugfs creation/removal, again
There is still a warning when CONFIG_DEBUG_FS is disabled:

drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c:1145:13: error: 'amdgpu_ras_debugfs_create_ctrl_node' defined but not used [-Werror=unused-function]
 1145 | static void amdgpu_ras_debugfs_create_ctrl_node(struct amdgpu_device *adev)

Change the code again to make the compiler actually drop
this code but not warn about it.

Fixes: ae2bf61ff3 ("drm/amdgpu: guard ras debugfs creation/removal based on CONFIG_DEBUG_FS")
Reviewed-by: Tao Zhou <tao.zhou1@amd.com>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2020-12-08 23:02:05 -05:00
..
acp
amdgpu drm/amdgpu: fix debugfs creation/removal, again 2020-12-08 23:02:05 -05:00
amdkfd drm/amdkfd: Put ACPI table after using it 2020-11-13 17:29:46 -05:00
display drm/amdgpu/disply: set num_crtc earlier 2020-12-08 23:01:59 -05:00
include drm/amd/include/dimgrey_cavefish_ip_offset: Mark top-level IP_BASE as __maybe_unused 2020-11-24 12:09:53 -05:00
pm drm/amd/pm: invalidate hdp before CPU access the memory written by GPU 2020-12-08 23:01:24 -05:00