Bug 39119

Summary: setting SQ_LDS_RESOURCE_MGMT register to zero in other applications muddles up font rendering permanently
Product: DRI Reporter: Adam Rak <adam.rak>
Component: DRM/RadeonAssignee: Default DRI bug account <dri-devel>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: medium    
Version: XOrg 6.7.0   
Hardware: x86-64 (AMD64)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:
Attachments:
Description Flags
a screenshot of how the fonts look after
none
attempted fix.
none
fix r600g none

Description Adam Rak 2011-07-10 13:05:29 UTC
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.
Comment 1 Dave Airlie 2011-07-10 13:38:04 UTC
Created attachment 48939 [details] [review]
attempted fix.
Comment 2 Adam Rak 2011-07-10 14:33:37 UTC
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?
Comment 3 Alex Deucher 2011-07-10 16:12:37 UTC
Created attachment 48944 [details] [review]
fix r600g

emit SQ_LDS_RESOURCE_MGMT in r600g.
Comment 5 Florian Mickler 2011-07-31 11:46:20 UTC
A patch referencing this bug report has been merged in Linux v3.0:

commit c61d0af9131976db150c40996a71387ba59edb67
Author: Alex Deucher <alexdeucher@gmail.com>
Date:   Tue Jul 12 11:53:23 2011 -0400

    drm/radeon/kms/evergreen: emit SQ_LDS_RESOURCE_MGMT for blits

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.