Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

ACPICA: iASL Table Compiler: Add full support for RGRT ACPI table

ACPICA commit 6949e1dd2d92788a994ce657857fe8809159e71e

Includes compiler, disassembler, and template generator.

Link: https://github.com/acpica/acpica/commit/6949e1dd
Signed-off-by: Bob Moore <robert.moore@intel.com>
Signed-off-by: Erik Kaneda <erik.kaneda@intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>

authored by

Bob Moore and committed by
Rafael J. Wysocki
536e35c9 6496f03e

+27
+27
include/acpi/actbl2.h
··· 40 40 #define ACPI_SIG_PMTT "PMTT" /* Platform Memory Topology Table */ 41 41 #define ACPI_SIG_PPTT "PPTT" /* Processor Properties Topology Table */ 42 42 #define ACPI_SIG_RASF "RASF" /* RAS Feature table */ 43 + #define ACPI_SIG_RGRT "RGRT" /* Regulatory Graphics Resource Table */ 43 44 #define ACPI_SIG_SBST "SBST" /* Smart Battery Specification Table */ 44 45 #define ACPI_SIG_SDEI "SDEI" /* Software Delegated Exception Interface Table */ 45 46 #define ACPI_SIG_SDEV "SDEV" /* Secure Devices table */ ··· 1790 1789 #define ACPI_RASF_SCI_DOORBELL (1<<1) 1791 1790 #define ACPI_RASF_ERROR (1<<2) 1792 1791 #define ACPI_RASF_STATUS (0x1F<<3) 1792 + 1793 + /******************************************************************************* 1794 + * 1795 + * RGRT - Regulatory Graphics Resource Table 1796 + * Version 1 1797 + * 1798 + * Conforms to "ACPI RGRT" available at: 1799 + * https://microsoft.github.io/mu/dyn/mu_plus/ms_core_pkg/acpi_RGRT/feature_acpi_rgrt/ 1800 + * 1801 + ******************************************************************************/ 1802 + 1803 + struct acpi_table_rgrt { 1804 + struct acpi_table_header header; /* Common ACPI table header */ 1805 + u16 version; 1806 + u8 image_type; 1807 + u8 reserved; 1808 + u8 image[0]; 1809 + }; 1810 + 1811 + /* image_type values */ 1812 + 1813 + enum acpi_rgrt_image_type { 1814 + ACPI_RGRT_TYPE_RESERVED0 = 0, 1815 + ACPI_RGRT_IMAGE_TYPE_PNG = 1, 1816 + ACPI_RGRT_TYPE_RESERVED = 2 /* 2 and greater are reserved */ 1817 + }; 1793 1818 1794 1819 /******************************************************************************* 1795 1820 *