drm/mode: add the GTF algorithm in kernel space