[Bug 209225] [AMDGPU] oops on each boot: dc_link_set_backlight_level

bugzilla-daemon at bugzilla.kernel.org bugzilla-daemon at bugzilla.kernel.org
Sat Sep 12 22:40:30 UTC 2020


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

--- Comment #6 from Arthur Borsboom (arthurborsboom at gmail.com) ---
I have applied and tested the patch.
Unfortunately it did not resolve the problem.

Apparently the ASSERT(0) in this piece of code triggering the oops.

----------------------

drivers/gpu/drm/amd/display/dc/clk_mgr/dcn21/rn_clk_mgr.c
rn_clk_mgr_helper_populate_bw_params

        /* Find lowest DPM, FCLK is filled in reverse order*/

        for (i = PP_SMU_NUM_FCLK_DPM_LEVELS - 1; i >= 0; i--) {
                if (clock_table->FClocks[i].Freq != 0 &&
clock_table->FClocks[i].Vol != 0) {
                        j = i;
                        break;
                }
        }

        if (j == -1) {
                /* clock table is all 0s, just use our own hardcode */
                ASSERT(0); 
                return;
        }

----------------------

-- 
You are receiving this mail because:
You are watching the assignee of the bug.


More information about the dri-devel mailing list