[Bug 115321] radeon runpm falsely disabled on Clevo P170EM

bugzilla-daemon at bugzilla.kernel.org bugzilla-daemon at bugzilla.kernel.org
Sat Jul 16 13:59:57 UTC 2016


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

--- Comment #13 from Christoph Haag <haagch.christoph at googlemail.com> ---
This seems like a circular dependency.

    if ((rdev->flags & RADEON_IS_PX) && radeon_has_atpx_dgpu_power_cntl())
        runtime = true;

    vga_switcheroo_register_client(rdev->pdev, &radeon_switcheroo_ops,
runtime);

vga_switcheroo_register_client needs to know if runpm is enabled, but the
kernel only knows whether to enable runpm after vga_switcheroo_register_client
has caused radeon_atpx_init to be executed.

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


More information about the dri-devel mailing list