Skip to content

Commit

Permalink
Advanced support for Rembrandt, Raven Ridge, Phoenix, Picasso, Dali C…
Browse files Browse the repository at this point in the history
…PUs. Added new info command to get more info about CPU sensors, added more monitoring sensors in libryzenadj.dll
  • Loading branch information
Erruar authored and Erruar committed Nov 13, 2024
1 parent 8b7fb71 commit 4015566
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 276 deletions.
76 changes: 0 additions & 76 deletions lib/api.c
Original file line number Diff line number Diff line change
Expand Up @@ -2219,8 +2219,6 @@ EXP float CALL get_core_power(ryzen_access ry, uint32_t core) {
_read_float_value(0x304); //772
case 0x00400004:
case 0x00400005:
case 0x00450004:
case 0x00450005:
_read_float_value(0x320); //800
case 0x00450004:
case 0x00450005:
Expand Down Expand Up @@ -2265,8 +2263,6 @@ EXP float CALL get_core_power(ryzen_access ry, uint32_t core) {
_read_float_value(0x308); //776
case 0x00400004:
case 0x00400005:
case 0x00450004:
case 0x00450005:
_read_float_value(0x324); //804
case 0x00450004:
case 0x00450005:
Expand Down Expand Up @@ -2306,8 +2302,6 @@ EXP float CALL get_core_power(ryzen_access ry, uint32_t core) {
_read_float_value(0x30c); //780
case 0x00400004:
case 0x00400005:
case 0x00450004:
case 0x00450005:
_read_float_value(0x328); //808
case 0x00450004:
case 0x00450005:
Expand Down Expand Up @@ -2347,8 +2341,6 @@ EXP float CALL get_core_power(ryzen_access ry, uint32_t core) {
_read_float_value(0x310); //784
case 0x00400004:
case 0x00400005:
case 0x00450004:
case 0x00450005:
_read_float_value(0x32c); //812
case 0x00450004:
case 0x00450005:
Expand Down Expand Up @@ -2403,8 +2395,6 @@ EXP float CALL get_core_power(ryzen_access ry, uint32_t core) {
_read_float_value(0x318); //792
case 0x00400004:
case 0x00400005:
case 0x00450004:
case 0x00450005:
_read_float_value(0x334); //820
case 0x00450004:
case 0x00450005:
Expand All @@ -2429,8 +2419,6 @@ EXP float CALL get_core_power(ryzen_access ry, uint32_t core) {
_read_float_value(0x31c); //796
case 0x00400004:
case 0x00400005:
case 0x00450004:
case 0x00450005:
_read_float_value(0x338); //824
case 0x00450004:
case 0x00450005:
Expand All @@ -2455,8 +2443,6 @@ EXP float CALL get_core_power(ryzen_access ry, uint32_t core) {
_read_float_value(0x320); //800
case 0x00400004:
case 0x00400005:
case 0x00450004:
case 0x00450005:
_read_float_value(0x33c); //828
case 0x00450004:
case 0x00450005:
Expand Down Expand Up @@ -2511,8 +2497,6 @@ EXP float CALL get_core_volt(ryzen_access ry, uint32_t core) {
_read_float_value(0x248); //584
case 0x00400004:
case 0x00400005:
case 0x00450004:
case 0x00450005:
_read_float_value(0x340); //832
case 0x00450004:
case 0x00450005:
Expand Down Expand Up @@ -2555,8 +2539,6 @@ EXP float CALL get_core_volt(ryzen_access ry, uint32_t core) {
_read_float_value(0x24C); //588
case 0x00400004:
case 0x00400005:
case 0x00450004:
case 0x00450005:
_read_float_value(0x344); //836
case 0x00450004:
case 0x00450005:
Expand Down Expand Up @@ -2594,8 +2576,6 @@ EXP float CALL get_core_volt(ryzen_access ry, uint32_t core) {
_read_float_value(0x250); //592
case 0x00400004:
case 0x00400005:
case 0x00450004:
case 0x00450005:
_read_float_value(0x348); //840
case 0x00450004:
case 0x00450005:
Expand Down Expand Up @@ -2633,8 +2613,6 @@ EXP float CALL get_core_volt(ryzen_access ry, uint32_t core) {
_read_float_value(0x254); //596
case 0x00400004:
case 0x00400005:
case 0x00450004:
case 0x00450005:
_read_float_value(0x34c); //844
case 0x00450004:
case 0x00450005:
Expand Down Expand Up @@ -2685,8 +2663,6 @@ EXP float CALL get_core_volt(ryzen_access ry, uint32_t core) {
_read_float_value(0x350);
case 0x00400004:
case 0x00400005:
case 0x00450004:
case 0x00450005:
_read_float_value(0x354); //852
case 0x00450004:
case 0x00450005:
Expand All @@ -2709,8 +2685,6 @@ EXP float CALL get_core_volt(ryzen_access ry, uint32_t core) {
_read_float_value(0x354);
case 0x00400004:
case 0x00400005:
case 0x00450004:
case 0x00450005:
_read_float_value(0x358); //856
case 0x00450004:
case 0x00450005:
Expand All @@ -2733,8 +2707,6 @@ EXP float CALL get_core_volt(ryzen_access ry, uint32_t core) {
_read_float_value(0x358);
case 0x00400004:
case 0x00400005:
case 0x00450004:
case 0x00450005:
_read_float_value(0x35c); //860
case 0x00450004:
case 0x00450005:
Expand Down Expand Up @@ -2777,8 +2749,6 @@ EXP float CALL get_core_temp(ryzen_access ry, uint32_t core) {
_read_float_value(0x258); //600
case 0x00400004:
case 0x00400005:
case 0x00450004:
case 0x00450005:
_read_float_value(0x360); //864
case 0x00450004:
case 0x00450005:
Expand Down Expand Up @@ -2811,8 +2781,6 @@ EXP float CALL get_core_temp(ryzen_access ry, uint32_t core) {
_read_float_value(0x25C); //604
case 0x00400004:
case 0x00400005:
case 0x00450004:
case 0x00450005:
_read_float_value(0x364); //868
case 0x00450004:
case 0x00450005:
Expand Down Expand Up @@ -2845,8 +2813,6 @@ EXP float CALL get_core_temp(ryzen_access ry, uint32_t core) {
_read_float_value(0x260); //608
case 0x00400004:
case 0x00400005:
case 0x00450004:
case 0x00450005:
_read_float_value(0x368); //872
case 0x00450004:
case 0x00450005:
Expand Down Expand Up @@ -2879,8 +2845,6 @@ EXP float CALL get_core_temp(ryzen_access ry, uint32_t core) {
_read_float_value(0x264); //612
case 0x00400004:
case 0x00400005:
case 0x00450004:
case 0x00450005:
_read_float_value(0x36c); //876
case 0x00450004:
case 0x00450005:
Expand All @@ -2903,8 +2867,6 @@ EXP float CALL get_core_temp(ryzen_access ry, uint32_t core) {
_read_float_value(0x36C);
case 0x00400004:
case 0x00400005:
case 0x00450004:
case 0x00450005:
_read_float_value(0x370); //880
case 0x00450004:
case 0x00450005:
Expand All @@ -2927,8 +2889,6 @@ EXP float CALL get_core_temp(ryzen_access ry, uint32_t core) {
_read_float_value(0x370);
case 0x00400004:
case 0x00400005:
case 0x00450004:
case 0x00450005:
_read_float_value(0x374); //884
case 0x00450004:
case 0x00450005:
Expand All @@ -2951,8 +2911,6 @@ EXP float CALL get_core_temp(ryzen_access ry, uint32_t core) {
_read_float_value(0x374);
case 0x00400004:
case 0x00400005:
case 0x00450004:
case 0x00450005:
_read_float_value(0x378); //888
case 0x00450004:
case 0x00450005:
Expand All @@ -2975,8 +2933,6 @@ EXP float CALL get_core_temp(ryzen_access ry, uint32_t core) {
_read_float_value(0x378);
case 0x00400004:
case 0x00400005:
case 0x00450004:
case 0x00450005:
_read_float_value(0x37C); //892
case 0x00450004:
case 0x00450005:
Expand Down Expand Up @@ -3073,8 +3029,6 @@ EXP float CALL get_core_clk(ryzen_access ry, uint32_t core) {
_read_float_value(0x2C8); //652
case 0x00400004:
case 0x00400005:
case 0x00450004:
case 0x00450005:
_read_float_value(0x3c4); //964
case 0x00450004:
case 0x00450005:
Expand Down Expand Up @@ -3113,8 +3067,6 @@ EXP float CALL get_core_clk(ryzen_access ry, uint32_t core) {
_read_float_value(0x290); //656
case 0x00400004:
case 0x00400005:
case 0x00450004:
case 0x00450005:
_read_float_value(0x3c8); //968
case 0x00450004:
case 0x00450005:
Expand Down Expand Up @@ -3152,8 +3104,6 @@ EXP float CALL get_core_clk(ryzen_access ry, uint32_t core) {
_read_float_value(0x294); //660
case 0x00400004:
case 0x00400005:
case 0x00450004:
case 0x00450005:
_read_float_value(0x3cc); //972
case 0x00450004:
case 0x00450005:
Expand Down Expand Up @@ -3203,8 +3153,6 @@ EXP float CALL get_core_clk(ryzen_access ry, uint32_t core) {
_read_float_value(0x3D0);
case 0x00400004:
case 0x00400005:
case 0x00450004:
case 0x00450005:
_read_float_value(0x3d4); //980
case 0x00450004:
case 0x00450005:
Expand All @@ -3227,8 +3175,6 @@ EXP float CALL get_core_clk(ryzen_access ry, uint32_t core) {
_read_float_value(0x3D4);
case 0x00400004:
case 0x00400005:
case 0x00450004:
case 0x00450005:
_read_float_value(0x3d8); //984
case 0x00450004:
case 0x00450005:
Expand All @@ -3251,8 +3197,6 @@ EXP float CALL get_core_clk(ryzen_access ry, uint32_t core) {
_read_float_value(0x3D8);
case 0x00400004:
case 0x00400005:
case 0x00450004:
case 0x00450005:
_read_float_value(0x3dc); //988
case 0x00450004:
case 0x00450005:
Expand Down Expand Up @@ -3291,8 +3235,6 @@ EXP float CALL get_l3_clk(ryzen_access ry) {
_read_float_value(0x35C); //860
case 0x00400004:
case 0x00400005:
case 0x00450004:
case 0x00450005:
_read_float_value(0x614); //1556
case 0x00450004:
case 0x00450005:
Expand Down Expand Up @@ -3361,8 +3303,6 @@ EXP float CALL get_l3_vddm(ryzen_access ry) {
_read_float_value(0x34C); //844
case 0x00400004:
case 0x00400005:
case 0x00450004:
case 0x00450005:
_read_float_value(0x604); //1540
case 0x00450004:
case 0x00450005:
Expand Down Expand Up @@ -3398,8 +3338,6 @@ EXP float CALL get_l3_temp(ryzen_access ry) {
_read_float_value(0x350); //848
case 0x00400004:
case 0x00400005:
case 0x00450004:
case 0x00450005:
_read_float_value(0x608); //1544
case 0x00450004:
case 0x00450005:
Expand Down Expand Up @@ -3444,8 +3382,6 @@ EXP float CALL get_gfx_clk(ryzen_access ry) {
_read_float_value(0x644); //1604
case 0x00400004:
case 0x00400005:
case 0x00450004:
case 0x00450005:
_read_float_value(0x648); //1608
case 0x00450004:
case 0x00450005:
Expand Down Expand Up @@ -3487,8 +3423,6 @@ EXP float CALL get_gfx_volt(ryzen_access ry) {
_read_float_value(0x638); //1592
case 0x00400004:
case 0x00400005:
case 0x00450004:
case 0x00450005:
_read_float_value(0x63C); //1596
case 0x00450004:
case 0x00450005:
Expand Down Expand Up @@ -3530,8 +3464,6 @@ EXP float CALL get_gfx_temp(ryzen_access ry) {
_read_float_value(0x63C); //1596
case 0x00400004:
case 0x00400005:
case 0x00450004:
case 0x00450005:
_read_float_value(0x640); //1600
case 0x00450004:
case 0x00450005:
Expand Down Expand Up @@ -3569,8 +3501,6 @@ EXP float CALL get_fclk(ryzen_access ry) {
_read_float_value(0x3C5); //956
case 0x00400004:
case 0x00400005:
case 0x00450004:
case 0x00450005:
_read_float_value(0x664); //1636
case 0x00450004:
case 0x00450005:
Expand Down Expand Up @@ -3606,8 +3536,6 @@ EXP float CALL get_mem_clk(ryzen_access ry) {
_read_float_value(0x3C4); //964
case 0x00400004:
case 0x00400005:
case 0x00450004:
case 0x00450005:
_read_float_value(0x66c); //1644
case 0x00450004:
case 0x00450005:
Expand Down Expand Up @@ -3643,8 +3571,6 @@ EXP float CALL get_soc_volt(ryzen_access ry) {
_read_float_value(0x1A0); //416
case 0x00400004:
case 0x00400005:
case 0x00450004:
case 0x00450005:
_read_float_value(0x19c); //412
case 0x00450004:
case 0x00450005:
Expand Down Expand Up @@ -3680,8 +3606,6 @@ EXP float CALL get_soc_power(ryzen_access ry) {
_read_float_value(0x1A8); //424
case 0x00400004:
case 0x00400005:
case 0x00450004:
case 0x00450005:
_read_float_value(0x1a4); //420
case 0x00450004:
case 0x00450005:
Expand Down
Loading

0 comments on commit 4015566

Please sign in to comment.