2019-05-02 23:02:42 +08:00
|
|
|
/* SPDX-License-Identifier: MIT */
|
|
|
|
/*
|
|
|
|
* Copyright © 2019 Intel Corporation
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef __INTEL_ACPI_H__
|
|
|
|
#define __INTEL_ACPI_H__
|
|
|
|
|
2019-12-21 04:03:51 +08:00
|
|
|
struct drm_i915_private;
|
|
|
|
|
2019-05-02 23:02:42 +08:00
|
|
|
#ifdef CONFIG_ACPI
|
|
|
|
void intel_register_dsm_handler(void);
|
|
|
|
void intel_unregister_dsm_handler(void);
|
2021-05-20 14:58:20 +08:00
|
|
|
void intel_dsm_get_bios_data_funcs_supported(struct drm_i915_private *i915);
|
2019-12-21 04:03:51 +08:00
|
|
|
void intel_acpi_device_id_update(struct drm_i915_private *i915);
|
2021-08-18 05:51:58 +08:00
|
|
|
void intel_acpi_assign_connector_fwnodes(struct drm_i915_private *i915);
|
2019-05-02 23:02:42 +08:00
|
|
|
#else
|
|
|
|
static inline void intel_register_dsm_handler(void) { return; }
|
|
|
|
static inline void intel_unregister_dsm_handler(void) { return; }
|
2019-12-21 04:03:51 +08:00
|
|
|
static inline
|
2021-05-20 14:58:20 +08:00
|
|
|
void intel_dsm_get_bios_data_funcs_supported(struct drm_i915_private *i915) { return; }
|
|
|
|
static inline
|
2019-12-21 04:03:51 +08:00
|
|
|
void intel_acpi_device_id_update(struct drm_i915_private *i915) { return; }
|
2021-08-18 05:51:58 +08:00
|
|
|
static inline
|
|
|
|
void intel_acpi_assign_connector_fwnodes(struct drm_i915_private *i915) { return; }
|
2019-05-02 23:02:42 +08:00
|
|
|
#endif /* CONFIG_ACPI */
|
|
|
|
|
|
|
|
#endif /* __INTEL_ACPI_H__ */
|