2020-02-11 18:14:51 +02:00
|
|
|
/* SPDX-License-Identifier: MIT */
|
|
|
|
/*
|
|
|
|
* Copyright © 2020 Intel Corporation
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef __INTEL_DISPLAY_DEBUGFS_H__
|
|
|
|
#define __INTEL_DISPLAY_DEBUGFS_H__
|
|
|
|
|
2021-08-30 17:02:22 +03:00
|
|
|
struct intel_connector;
|
2023-03-20 14:44:28 +02:00
|
|
|
struct intel_crtc;
|
2025-02-25 18:49:03 +02:00
|
|
|
struct intel_display;
|
2020-02-11 18:14:51 +02:00
|
|
|
|
|
|
|
#ifdef CONFIG_DEBUG_FS
|
2025-02-25 18:49:03 +02:00
|
|
|
void intel_display_debugfs_register(struct intel_display *display);
|
2021-08-30 17:02:22 +03:00
|
|
|
void intel_connector_debugfs_add(struct intel_connector *connector);
|
2023-03-20 14:44:28 +02:00
|
|
|
void intel_crtc_debugfs_add(struct intel_crtc *crtc);
|
2020-02-11 18:14:51 +02:00
|
|
|
#else
|
2025-02-25 18:49:03 +02:00
|
|
|
static inline void intel_display_debugfs_register(struct intel_display *display) {}
|
2021-08-30 17:02:22 +03:00
|
|
|
static inline void intel_connector_debugfs_add(struct intel_connector *connector) {}
|
2023-03-20 14:44:28 +02:00
|
|
|
static inline void intel_crtc_debugfs_add(struct intel_crtc *crtc) {}
|
2020-02-11 18:14:51 +02:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#endif /* __INTEL_DISPLAY_DEBUGFS_H__ */
|