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