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

--- Comment #17 from vele...@gmail.com ---
(In reply to leo60228 from comment #15)
> amdgpu apparently always assumed the system was on AC power until
> https://github.com/torvalds/linux/commit/
> 600ae890be59910e65b75fe25a1b900d83c0329c, which was introduced in 4.19. This
> seems like a likely candidate, but for some reason I'm now affected by this
> issue even when using Linux 4.17 and linux-firmware 2018-03-20...

Some time ago I tried to build 5.4.6 with adev->pm.ac_power set to true
unconditionally:

adev->pm.ac_power = true; // power_supply_is_system_supplied() > 0 ? true :
false;

and

        //if (power_supply_is_system_supplied() > 0)
                adev->pm.ac_power = true;
        //else
        //      adev->pm.ac_power = false;

But in my case it did nothing.

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

_______________________________________________
acpi-bugzilla mailing list
acpi-bugzilla@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/acpi-bugzilla

Reply via email to