Back to home page

OSCL-LXR

 
 

    


0001 /* SPDX-License-Identifier: MIT */
0002 /*
0003  * Copyright © 2019 Intel Corporation
0004  */
0005 
0006 #ifndef __INTEL_ACPI_H__
0007 #define __INTEL_ACPI_H__
0008 
0009 struct drm_i915_private;
0010 
0011 #ifdef CONFIG_ACPI
0012 void intel_register_dsm_handler(void);
0013 void intel_unregister_dsm_handler(void);
0014 void intel_dsm_get_bios_data_funcs_supported(struct drm_i915_private *i915);
0015 void intel_acpi_device_id_update(struct drm_i915_private *i915);
0016 void intel_acpi_assign_connector_fwnodes(struct drm_i915_private *i915);
0017 #else
0018 static inline void intel_register_dsm_handler(void) { return; }
0019 static inline void intel_unregister_dsm_handler(void) { return; }
0020 static inline
0021 void intel_dsm_get_bios_data_funcs_supported(struct drm_i915_private *i915) { return; }
0022 static inline
0023 void intel_acpi_device_id_update(struct drm_i915_private *i915) { return; }
0024 static inline
0025 void intel_acpi_assign_connector_fwnodes(struct drm_i915_private *i915) { return; }
0026 #endif /* CONFIG_ACPI */
0027 
0028 #endif /* __INTEL_ACPI_H__ */