From https://forum.pine64.org/showthread.php?...9#pid69349 :
file is drivers/gpu/drm/bridge/analogix/analogix_dp_core.c. You want to edit the file, find this chunk of code (starting at line 978):
and surround it with "/* */", like this:
also, be prepared for the compile to take a loooong time. just seeing the part about MAKEFLAGS, wish I had known that. you might even want to try MAKEFLAGS="-j4" or "-j6" if you want to max out all the cores. just edit /etc/makepkg.conf, find the MAKEFLAGS line and uncomment it (remove the #), then set it to the value you want. now when you run makepkg -e it will use more than just a single core.
hope this helps!
file is drivers/gpu/drm/bridge/analogix/analogix_dp_core.c. You want to edit the file, find this chunk of code (starting at line 978):
Code:
if (analogix_dp_detect_sink_psr(dp)) {
ret = analogix_dp_enable_sink_psr(dp);
if (ret)
return ret;
}
and surround it with "/* */", like this:
Code:
/*
if (analogix_dp_detect_sink_psr(dp)) {
ret = analogix_dp_enable_sink_psr(dp);
if (ret)
return ret;
}
*/
also, be prepared for the compile to take a loooong time. just seeing the part about MAKEFLAGS, wish I had known that. you might even want to try MAKEFLAGS="-j4" or "-j6" if you want to max out all the cores. just edit /etc/makepkg.conf, find the MAKEFLAGS line and uncomment it (remove the #), then set it to the value you want. now when you run makepkg -e it will use more than just a single core.
hope this helps!