Skip to content

Commit 536e35c

Browse files
acpibobrafaeljw
authored andcommitted
ACPICA: iASL Table Compiler: Add full support for RGRT ACPI table
ACPICA commit 6949e1dd2d92788a994ce657857fe8809159e71e Includes compiler, disassembler, and template generator. Link: acpica/acpica@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>
1 parent 6496f03 commit 536e35c

1 file changed

Lines changed: 27 additions & 0 deletions

File tree

include/acpi/actbl2.h

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@
4040
#define ACPI_SIG_PMTT "PMTT" /* Platform Memory Topology Table */
4141
#define ACPI_SIG_PPTT "PPTT" /* Processor Properties Topology Table */
4242
#define ACPI_SIG_RASF "RASF" /* RAS Feature table */
43+
#define ACPI_SIG_RGRT "RGRT" /* Regulatory Graphics Resource Table */
4344
#define ACPI_SIG_SBST "SBST" /* Smart Battery Specification Table */
4445
#define ACPI_SIG_SDEI "SDEI" /* Software Delegated Exception Interface Table */
4546
#define ACPI_SIG_SDEV "SDEV" /* Secure Devices table */
@@ -1790,6 +1791,32 @@ enum acpi_rasf_status {
17901791
#define ACPI_RASF_ERROR (1<<2)
17911792
#define ACPI_RASF_STATUS (0x1F<<3)
17921793

1794+
/*******************************************************************************
1795+
*
1796+
* RGRT - Regulatory Graphics Resource Table
1797+
* Version 1
1798+
*
1799+
* Conforms to "ACPI RGRT" available at:
1800+
* https://microsoft.github.io/mu/dyn/mu_plus/ms_core_pkg/acpi_RGRT/feature_acpi_rgrt/
1801+
*
1802+
******************************************************************************/
1803+
1804+
struct acpi_table_rgrt {
1805+
struct acpi_table_header header; /* Common ACPI table header */
1806+
u16 version;
1807+
u8 image_type;
1808+
u8 reserved;
1809+
u8 image[0];
1810+
};
1811+
1812+
/* image_type values */
1813+
1814+
enum acpi_rgrt_image_type {
1815+
ACPI_RGRT_TYPE_RESERVED0 = 0,
1816+
ACPI_RGRT_IMAGE_TYPE_PNG = 1,
1817+
ACPI_RGRT_TYPE_RESERVED = 2 /* 2 and greater are reserved */
1818+
};
1819+
17931820
/*******************************************************************************
17941821
*
17951822
* SBST - Smart Battery Specification Table

0 commit comments

Comments
 (0)