diff options
author | Lucas De Marchi <[email protected]> | 2024-08-08 10:11:21 -0700 |
---|---|---|
committer | Lucas De Marchi <[email protected]> | 2024-08-09 21:15:14 -0700 |
commit | 08b5a4798713f4331317272752b27b1c4f6a246d (patch) | |
tree | 85068d81fce3cc76dd34154d12b0333567fb0665 /tools/perf/scripts/python/syscall-counts-by-pid.py | |
parent | d79fdaef2b55deea0df3fc6af4d4ac60e81a527c (diff) |
drm/xe: Allow to compile out debugfs
Use a dummy xe_debugfs_register() if debugfs is not enabled and move all
debugfs-related files under `ifeq ($(CONFIG_DEBUG_FS),y)` in the
Makefile. This is similar to what was done for display in
commit 439987f6f471 ("drm/xe: don't build debugfs files when
CONFIG_DEBUG_FS=n").
This removes the following warning while loading xe with
CONFIG_DEUBG_FS=n:
xe 0000:03:00.0: [drm] Create GT directory failed
Reviewed-by: Nirmoy Das <[email protected]>
Reviewed-by: Matthew Brost <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Signed-off-by: Lucas De Marchi <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts-by-pid.py')
0 files changed, 0 insertions, 0 deletions