The following patch (to be applied on top of Matt's two patches), fixes things up so at least all the DRM drivers compile correctly and the resulting kernel links on amd64. hmm, seems this patch is needed for both -current and -5. it looks mostly OK, but i also can't test any of it. .mrg.