intel_acpi.h (955B)
1/* SPDX-License-Identifier: MIT */ 2/* 3 * Copyright © 2019 Intel Corporation 4 */ 5 6#ifndef __INTEL_ACPI_H__ 7#define __INTEL_ACPI_H__ 8 9struct drm_i915_private; 10 11#ifdef CONFIG_ACPI 12void intel_register_dsm_handler(void); 13void intel_unregister_dsm_handler(void); 14void intel_dsm_get_bios_data_funcs_supported(struct drm_i915_private *i915); 15void intel_acpi_device_id_update(struct drm_i915_private *i915); 16void intel_acpi_assign_connector_fwnodes(struct drm_i915_private *i915); 17#else 18static inline void intel_register_dsm_handler(void) { return; } 19static inline void intel_unregister_dsm_handler(void) { return; } 20static inline 21void intel_dsm_get_bios_data_funcs_supported(struct drm_i915_private *i915) { return; } 22static inline 23void intel_acpi_device_id_update(struct drm_i915_private *i915) { return; } 24static inline 25void intel_acpi_assign_connector_fwnodes(struct drm_i915_private *i915) { return; } 26#endif /* CONFIG_ACPI */ 27 28#endif /* __INTEL_ACPI_H__ */