From mboxrd@z Thu Jan 1 00:00:00 1970
From: bugzilla-daemon@freedesktop.org
Subject: [Bug 88561] [radeonsi][regression, bisected] Depth test/buffer issues
in Portal
Date: Sun, 18 Jan 2015 17:34:27 +0000
Message-ID:
Bug ID
88561
Summary
[radeonsi][regression,bisected] Depth test/buffer issues in P=
ortal
Product
Mesa
Version
git
Hardware
Other
OS
All
Status
NEW
Severity
normal
Priority
medium
Component
Drivers/Gallium/radeonsi
Assignee
dri-devel@lists.freedesktop.org
Reporter
daniel@constexpr.org
Created attachment 112428 [deta=
ils]
Bad frame
With current Mesa master (commit 461103ef64858e9d81073fad1bd8222b70b2754b),
(some) background geometry will be randomly drawn above foreground for some
frames in Portal (also observed in the Portal mod Rexaura). It does not hap=
pen
often and the same scene may be fine depending on what was loaded before or
just randomness.
Bisecting blames commit 02ba7334d35cf8182048c17a149b16f18104c6bf
Author: Marek Ol=C5=A1=C3=A1k <marek.olsak@amd.com>
Date: Sun Jan 4 22:16:53 2015 +0100
radeonsi: don't use TC L2 for updating descriptors on SI
It's causing problems, because we mix uncached CP DMA with cached
WRITE_DATA
when updating the same memory.
The solution for SI is to use uncached access here, because CP DMA does=
n't
support cached access.
CIK will be handled in the next patch.
Reviewed-by: Michel D=C3=A4nzer <michel.daenzer@amd.com>
Simply reverting this commit on master causes other rendering issues.
GPU: Radeon HD 7950 (OpenGL renderer string: Gallium 0.4 on AMD TAHITI)
LLVM compiled from svn last week (r225584)
GCC: 4.8.4
Kernel: Linux 3.18.2-gentoo
Distro: Gentoo