some fixes for xf86-video-ati