Hello community,

here is the log from the commit of package powertop for openSUSE:Factory 
checked in at 2020-11-11 20:46:31
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/powertop (Old)
 and      /work/SRC/openSUSE:Factory/.powertop.new.26437 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "powertop"

Wed Nov 11 20:46:31 2020 rev:54 rq:847719 version:2.13

Changes:
--------
--- /work/SRC/openSUSE:Factory/powertop/powertop.changes        2020-10-29 
14:52:00.161225492 +0100
+++ /work/SRC/openSUSE:Factory/.powertop.new.26437/powertop.changes     
2020-11-11 20:46:35.263658022 +0100
@@ -1,0 +2,6 @@
+Wed Nov 11 08:25:09 UTC 2020 - Michael Vetter <[email protected]>
+
+- jsc#SLE-13395: Add Rocket Lake support
+  * Add powertop-add-rocket-lake-support.patch
+
+-------------------------------------------------------------------

New:
----
  powertop-add-rocket-lake-support.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ powertop.spec ++++++
--- /var/tmp/diff_new_pack.A2ZRSL/_old  2020-11-11 20:46:35.963658679 +0100
+++ /var/tmp/diff_new_pack.A2ZRSL/_new  2020-11-11 20:46:35.967658683 +0100
@@ -25,6 +25,8 @@
 URL:            https://01.org/powertop/
 Source0:        https://github.com/fenrus75/powertop/archive/v2.13.tar.gz
 Source1:        powertop.service
+# jsc#SLE-13395: Add powertop support
+Patch0:         powertop-add-rocket-lake-support.patch
 # they repeatedly forget to upload a release tarball and only have the one from
 # GitHub which doesnt contain configure thus adding:
 # autoconf, autoconf-archive, automake, libtool
@@ -52,6 +54,7 @@
 
 %prep
 %setup -q -n powertop-%{version}
+%patch0 -p1
 
 # Delete objects files left in tarball
 find . -name '*.o' -delete

++++++ powertop-add-rocket-lake-support.patch ++++++
From 8e2fd311778b990240847e3e9ce3840ff312f5a7 Mon Sep 17 00:00:00 2001
From: Gayatri Kammela <[email protected]>
Date: Thu, 29 Oct 2020 12:09:06 -0700
Subject: [PATCH] intel_cpus: Enable Rocket Lake desktop platform support in
 PowerTop

Signed-off-by: Gayatri Kammela <[email protected]>
---
 src/cpu/intel_cpus.cpp | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/src/cpu/intel_cpus.cpp b/src/cpu/intel_cpus.cpp
index 13923b2..3d4464c 100644
--- a/src/cpu/intel_cpus.cpp
+++ b/src/cpu/intel_cpus.cpp
@@ -83,6 +83,7 @@ static int intel_cpu_models[] = {
        0x9E,   /* KBL */
        0xA5,   /* CML_DESKTOP */
        0xA6,   /* CML_MOBILE */
+       0xA7,   /* RKL_DESKTOP */
        0       /* last entry must be zero */
 };
 
@@ -196,6 +197,7 @@ nhm_core::nhm_core(int model)
                case 0x9E:      /* KBL */
                case 0xA5:      /* CML_DESKTOP */
                case 0xA6:      /* CML_MOBILE */
+               case 0xA7:      /* RKL_DESKTOP */
                        has_c7_res = 1;
        }
 
@@ -385,6 +387,7 @@ nhm_package::nhm_package(int model)
                case 0x9E:      /* KBL */
                case 0xA5:      /* CML_DESKTOP */
                case 0xA6:      /* CML_MOBILE */
+               case 0xA7:      /* RKL_DESKTOP */
                        has_c2c6_res=1;
                        has_c7_res = 1;
        }
@@ -428,6 +431,7 @@ nhm_package::nhm_package(int model)
                case 0x9E:      /* KBL */
                case 0xA5:      /* CML_DESKTOP */
                case 0xA6:      /* CML_MOBILE */
+               case 0xA7:      /* RKL_DESKTOP */
                        has_c8c9c10_res = 1;
                        break;
        }
_______________________________________________
openSUSE Commits mailing list -- [email protected]
To unsubscribe, email [email protected]
List Netiquette: https://en.opensuse.org/openSUSE:Mailing_list_netiquette
List Archives: 
https://lists.opensuse.org/archives/list/[email protected]

Reply via email to