Patchwork [3/5] acpi: method: Add stub for ACPI 5.0 _CPC

login
register
mail settings
Submitter Colin King
Date July 2, 2012, 12:15 p.m.
Message ID <1341231311-12557-4-git-send-email-colin.king@canonical.com>
Download mbox | patch
Permalink /patch/168582/
State Accepted
Headers show

Comments

Colin King - July 2, 2012, 12:15 p.m.
From: Colin Ian King <colin.king@canonical.com>

Signed-off-by: Colin Ian King <colin.king@canonical.com>
---
 src/acpi/method/method.c |    2 ++
 1 file changed, 2 insertions(+)
Alex Hung - July 3, 2012, 6:24 a.m.
On 07/02/2012 08:15 PM, Colin King wrote:
> From: Colin Ian King <colin.king@canonical.com>
>
> Signed-off-by: Colin Ian King <colin.king@canonical.com>
> ---
>   src/acpi/method/method.c |    2 ++
>   1 file changed, 2 insertions(+)
>
> diff --git a/src/acpi/method/method.c b/src/acpi/method/method.c
> index afe6e75..57215ef 100644
> --- a/src/acpi/method/method.c
> +++ b/src/acpi/method/method.c
> @@ -48,6 +48,7 @@
>    * _BST  10.2.2.6	Y
>    * _BTP  10.2.2.7	Y
>    * _CID  6.1.2		N
> + * _CPC  8.4.5		N
>    * _CRS  6.2.2		Y
>    * _CRT  11.4.4		Y
>    * _CST  8.4.2.1	N
> @@ -2145,6 +2146,7 @@ static fwts_framework_minor_test method_tests[] = {
>
>   	/* Section 8.4 */
>   	{ method_test_PSS, "Check _PSS (Performance Supported States)." },
> +	/* { method_test_CPC, "Check _CPC (Continuous Performance Control)." }, */
>
>   	/* Appendix B, ACPI Extensions for Display Adapters */
>
>
Acked-by: Alex Hung <alex.hung@canonical.com>
Keng-Yu Lin - July 4, 2012, 7:29 a.m.
On Mon, Jul 2, 2012 at 8:15 PM, Colin King <colin.king@canonical.com> wrote:
> From: Colin Ian King <colin.king@canonical.com>
>
> Signed-off-by: Colin Ian King <colin.king@canonical.com>
> ---
>  src/acpi/method/method.c |    2 ++
>  1 file changed, 2 insertions(+)
>
> diff --git a/src/acpi/method/method.c b/src/acpi/method/method.c
> index afe6e75..57215ef 100644
> --- a/src/acpi/method/method.c
> +++ b/src/acpi/method/method.c
> @@ -48,6 +48,7 @@
>   * _BST  10.2.2.6      Y
>   * _BTP  10.2.2.7      Y
>   * _CID  6.1.2         N
> + * _CPC  8.4.5         N
>   * _CRS  6.2.2         Y
>   * _CRT  11.4.4                Y
>   * _CST  8.4.2.1       N
> @@ -2145,6 +2146,7 @@ static fwts_framework_minor_test method_tests[] = {
>
>         /* Section 8.4 */
>         { method_test_PSS, "Check _PSS (Performance Supported States)." },
> +       /* { method_test_CPC, "Check _CPC (Continuous Performance Control)." }, */
>
>         /* Appendix B, ACPI Extensions for Display Adapters */
>
> --
> 1.7.10.4
>
Acked-by: Keng-Yu Lin <kengyu@canonical.com>

Patch

diff --git a/src/acpi/method/method.c b/src/acpi/method/method.c
index afe6e75..57215ef 100644
--- a/src/acpi/method/method.c
+++ b/src/acpi/method/method.c
@@ -48,6 +48,7 @@ 
  * _BST  10.2.2.6	Y
  * _BTP  10.2.2.7	Y
  * _CID  6.1.2		N
+ * _CPC  8.4.5		N
  * _CRS  6.2.2		Y
  * _CRT  11.4.4		Y
  * _CST  8.4.2.1	N
@@ -2145,6 +2146,7 @@  static fwts_framework_minor_test method_tests[] = {
 
 	/* Section 8.4 */
 	{ method_test_PSS, "Check _PSS (Performance Supported States)." },
+	/* { method_test_CPC, "Check _CPC (Continuous Performance Control)." }, */
 
 	/* Appendix B, ACPI Extensions for Display Adapters */