Tested under Linux 4.13.9 + ck1 patch, Mesa 17.2.5, xf64-video-amdgpu (git 875339c1064f666a2391b4a5a495eddda9407ab6), libdrm-2.4.88.