Closed ittomsk closed 4 years ago
Hi @ittomsk This looks good, you want to submit it as PR?
@sibradzic yes. will be great
cool. BTW, I did little driver reading last night, there is a way to set custom power profile;
https://github.com/torvalds/linux/blob/master/drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c#L1230
So, something like this would work;
echo "5 1 0 100 30 1 0 100 50" > /sys/class/drm/card0/device/pp_power_profile_mode
I'd validate FORCE_POWER_PROFILE in a bit different manner if I was you...
Well, that was a quick and dirty "copy and modify" hack. So if you think there is a better way of doing it, just do it. May be you'll add custom profile as well. Than will be great too
Add power profile management