On Thu, Dec 15, 2016 at 1:03 PM, Dawid Bautsch <attezione@xxxxxxxxx> wrote: > Hello > I'm looking form some help. I need to write (very basic) tool to control > radeon fan speed. I know i can use DRM. But where i can find any samples or > example code? > > How to start? > My os is GhostBSD (FreeBSD). I have no idea if FreeBSD has ported the fan control code over or not. The Linux driver (radeon or amdgpu depending on what asic you have) has code to control the fan. We leave the fan under GPU control unless the user selects manual fan control. At that point, it's controlled via the standard Linux hwmon pwm API. Alex _______________________________________________ dri-devel mailing list dri-devel@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/dri-devel