Created attachment 48938 [details]
a screenshot of how the fonts look after
setting SQ_LDS_RESOURCE_MGMT register to zero in other applications muddles up font rendering permanently, so permanently that not even X reset, or GPU softreset helped the issue after it happaned.
In order to do GPGPU thing, I need to set this register, so this bug pretty much kills any chance that I do GPGPU and X on the same GPU.
Created attachment 48939 [details] [review]
If I set the pixel shader part (lower 16 bits) of the register to 0x1000 in my code, than it works perfectly with X, so this patch should work, but what about mesa?
Created attachment 48944 [details] [review]
emit SQ_LDS_RESOURCE_MGMT in r600g.
Pushed the patches and also sent out drm blit patch.
A patch referencing this bug report has been merged in Linux v3.0:
Author: Alex Deucher <firstname.lastname@example.org>
Date: Tue Jul 12 11:53:23 2011 -0400
drm/radeon/kms/evergreen: emit SQ_LDS_RESOURCE_MGMT for blits
on Jul 29, 2016 at 23:34:35.
(provided by the Example extension).