[Bug 111122] 2500U: Graphics corruption on kernel 5.2

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Sun Aug 18 02:18:23 UTC 2019


https://bugs.freedesktop.org/show_bug.cgi?id=111122

--- Comment #20 from Brian Schott <briancschott at gmail.com> ---
The following applies to the graphics corruption seen in Dolphin:

ea5b7de138bb7e9a4e7e4f0c39c4ceb16acae923 is the first bad commit
commit ea5b7de138bb7e9a4e7e4f0c39c4ceb16acae923
Author: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer at amd.com>
Date:   Wed Jul 3 19:27:12 2019 +0200

    radeonsi: make gl_SampleMaskIn = 0x1 when MSAA is disabled

    gl_SampleMaskIn is 1 when R_028BE0_PA_SC_AA_CONFIG is 0, so this commit
rework the conditions
    controlling this register.

    Before it was set if the sctx->framebuffer had a sample count > 1.

    Now we still require this condition, but we also need either:
      - GL_MULTISAMPLE to be enabled
      - to be executing an operation that doesn't depends on GL state using
u_blitter.

    This fixes the arb_sample_shading/sample_mask piglit tests on radeonsi.

    Signed-off-by: Marek Olšák <marek.olsak at amd.com>

 src/gallium/drivers/radeonsi/si_state.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20190818/0a2513e0/attachment.html>


More information about the dri-devel mailing list