FreeBSDDesktop / kms-drm

the DRM part of the linuxkpi-based KMS
63 stars 26 forks source link

implement power_supply_is_system_supplied in lkpi-gplv2 #238

Closed avg-I closed 4 years ago

evadot commented 4 years ago

I guess it's ok for now to just do that as the amdgpu driver only uses this function from the power_supply subsystem.

zeising commented 4 years ago

Does this require any changes in base?

avg-I commented 4 years ago

@zeising , no, everything's already there.

zeising commented 4 years ago

@avg-I Since when? I'm just trying to gauge if we need some compat measures for a bit.

zeising commented 4 years ago

Also, is this relevant to pick into v4.16 as well?

avg-I commented 4 years ago

Since circa 2002 (freebsd/freebsd@3f245d8dd193f). I am not sure if power_supply_is_system_supplied is really used and if it makes any difference. But if it does, then it should be relevant for that branch as well.