File Index
Files and directories
Sign in
FILE

intel_display_debugfs.h

File preview with syntax highlighting.

linux-6.19.14/drivers/gpu/drm/i915/display/intel_display_debugfs.h C
 1/* SPDX-License-Identifier: MIT */
 2/*
 3 * Copyright © 2020 Intel Corporation
 4 */
 5
 6#ifndef __INTEL_DISPLAY_DEBUGFS_H__
 7#define __INTEL_DISPLAY_DEBUGFS_H__
 8
 9struct intel_connector;
10struct intel_crtc;
11struct intel_display;
12
13#ifdef CONFIG_DEBUG_FS
14void intel_display_debugfs_register(struct intel_display *display);
15void intel_connector_debugfs_add(struct intel_connector *connector);
16void intel_crtc_debugfs_add(struct intel_crtc *crtc);
17#else
18static inline void intel_display_debugfs_register(struct intel_display *display) {}
19static inline void intel_connector_debugfs_add(struct intel_connector *connector) {}
20static inline void intel_crtc_debugfs_add(struct intel_crtc *crtc) {}
21#endif
22
23#endif /* __INTEL_DISPLAY_DEBUGFS_H__ */
~/ Read-only file preview.