forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-05-13 9d77db3c730780c8ef5ccd4b66403ff5675cfe4e
kernel/drivers/gpu/drm/nouveau/nouveau_acpi.h
....@@ -1,4 +1,4 @@
1
-/* SPDX-License-Identifier: GPL-2.0 */
1
+/* SPDX-License-Identifier: MIT */
22 #ifndef __NOUVEAU_ACPI_H__
33 #define __NOUVEAU_ACPI_H__
44
....@@ -10,8 +10,6 @@
1010 void nouveau_register_dsm_handler(void);
1111 void nouveau_unregister_dsm_handler(void);
1212 void nouveau_switcheroo_optimus_dsm(void);
13
-int nouveau_acpi_get_bios_chunk(uint8_t *bios, int offset, int len);
14
-bool nouveau_acpi_rom_supported(struct device *);
1513 void *nouveau_acpi_edid(struct drm_device *, struct drm_connector *);
1614 #else
1715 static inline bool nouveau_is_optimus(void) { return false; };
....@@ -19,8 +17,6 @@
1917 static inline void nouveau_register_dsm_handler(void) {}
2018 static inline void nouveau_unregister_dsm_handler(void) {}
2119 static inline void nouveau_switcheroo_optimus_dsm(void) {}
22
-static inline bool nouveau_acpi_rom_supported(struct device *dev) { return false; }
23
-static inline int nouveau_acpi_get_bios_chunk(uint8_t *bios, int offset, int len) { return -EINVAL; }
2420 static inline void *nouveau_acpi_edid(struct drm_device *dev, struct drm_connector *connector) { return NULL; }
2521 #endif
2622