Same (or similar) problem here! Thinkpad T470, kaby lake (i5 7200U), running a Debian GNU/Linux Sid up-to-date with kernel 4.15. I use Awesome 4.2 as window manager. The issue (GPU hang) seems to appear (above all) when using Emacs (I'm using the GTK-based emacs25). I attach my dmesg output and the error dumped on /sys/class/drm/card0/error