diff options
| author | Ville Syrjälä <[email protected]> | 2021-12-21 21:37:53 +0200 |
|---|---|---|
| committer | Ville Syrjälä <[email protected]> | 2021-12-22 22:46:33 +0200 |
| commit | 825ca9ed1c9f5516b30292bb1c7ab648c2a01b92 (patch) | |
| tree | 6c05c94db7bdb9ebce747ba34b6e19a463950a1e /tools/perf/scripts/python/net_dropmonitor.py | |
| parent | 7e28d0b26759846485978ada860ef4a427e06c8f (diff) | |
drm: Always include the debugfs dentry in drm_crtc
Remove the counterproductive CONFIG_DEBUG_FS ifdef and just include
the debugfs dentry in drm_crtc always. This way we don't need
annoying ifdefs in the actual code with DEBUGFS=n. Also we don't
have these ifdefs around any of the other debugfs dentries either
so can't see why drm_crtc should be special.
This fixes the i915 DEBUGFS=n build because I assumed the dentry
would always be there.
Cc: Jani Nikula <[email protected]>
Reported-by: Nathan Chancellor <[email protected]>
Tested-by: Nathan Chancellor <[email protected]>
Fixes: e74c6aa955ca ("drm/i915/fbc: Register per-crtc debugfs files")
Signed-off-by: Ville Syrjälä <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Reviewed-by: Jani Nikula <[email protected]>
Acked-by: Daniel Vetter <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions