diff options
author | V3n3RiX <venerix@koprulu.sector> | 2022-01-09 22:16:02 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2022-01-09 22:16:02 +0000 |
commit | b907501806c020c9a430a2935677f5ed0db1f3b7 (patch) | |
tree | 59d2447f9da8ec749c49c00fe71c962a2c5348dd /sys-kernel/linux-sources-redcore-lts-legacy/files/5.10-enable-new-amd-energy-driver-for-all-ryzen.patch | |
parent | 361e196143d4c25c79e7f25f3d88ce8a316929be (diff) |
sys-kernel/linux-{image,sources}-redcore-lts-legacy : move v5.10 to LTS legacy, version bump
Diffstat (limited to 'sys-kernel/linux-sources-redcore-lts-legacy/files/5.10-enable-new-amd-energy-driver-for-all-ryzen.patch')
-rw-r--r-- | sys-kernel/linux-sources-redcore-lts-legacy/files/5.10-enable-new-amd-energy-driver-for-all-ryzen.patch | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/sys-kernel/linux-sources-redcore-lts-legacy/files/5.10-enable-new-amd-energy-driver-for-all-ryzen.patch b/sys-kernel/linux-sources-redcore-lts-legacy/files/5.10-enable-new-amd-energy-driver-for-all-ryzen.patch new file mode 100644 index 00000000..3d7a4948 --- /dev/null +++ b/sys-kernel/linux-sources-redcore-lts-legacy/files/5.10-enable-new-amd-energy-driver-for-all-ryzen.patch @@ -0,0 +1,13 @@ +diff -Naur linux-5.10.2/drivers/hwmon/amd_energy.c linux-5.10.2-p/drivers/hwmon/amd_energy.c +--- linux-5.10.2/drivers/hwmon/amd_energy.c 2020-12-21 13:30:08.000000000 +0100 ++++ linux-5.10.2-p/drivers/hwmon/amd_energy.c 2020-12-25 16:41:30.326691167 +0100 +@@ -330,7 +330,8 @@ + static struct platform_device *amd_energy_platdev; + + static const struct x86_cpu_id cpu_ids[] __initconst = { +- X86_MATCH_VENDOR_FAM_MODEL(AMD, 0x17, 0x31, NULL), ++ X86_MATCH_VENDOR_FAM(AMD, 0x17, NULL), ++ X86_MATCH_VENDOR_FAM(AMD, 0x19, NULL), + {} + }; + MODULE_DEVICE_TABLE(x86cpu, cpu_ids); |