[Bug 212077] AMD GPU discrete card memory at highest frequency even while not in use

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



https://bugzilla.kernel.org/show_bug.cgi?id=212077

--- Comment #6 from Bat Malin (bat_malin@xxxxxx) ---
No change in the code of 5.12-rc2...

for (i = 0; i < dep_mclk_table->count; i++) {
                for (j = 0; j < dep_sclk_table->count; j++) {
                        valid_entry = false;
                        for (k = 0; k < watermarks->num_wm_sets; k++) {
                                if (dep_sclk_table->entries[i].clk / 10 >=
watermarks->wm_clk_ranges[k].wm_min_eng_clk_in_khz &&
                                    dep_sclk_table->entries[i].clk / 10 <
watermarks->wm_clk_ranges[k].wm_max_eng_clk_in_khz &&
                                    dep_mclk_table->entries[i].clk / 10 >=
watermarks->wm_clk_ranges[k].wm_min_mem_clk_in_khz &&
                                    dep_mclk_table->entries[i].clk / 10 <
watermarks->wm_clk_ranges[k].wm_max_mem_clk_in_khz) {
                                        valid_entry = true;
                                        table->DisplayWatermark[i][j] =
watermarks->wm_clk_ranges[k].wm_set_id;
                                        break;

-- 
You may reply to this email to add a comment.

You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
dri-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/dri-devel



[Index of Archives]     [Linux DRI Users]     [Linux Intel Graphics]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux