From: bugzilla-daemon@freedesktop.org
Subject: [Bug 26686] Some textures are distorted with libdrm 2.4.18 in
GTAVC>A3
Date: Mon, 22 Feb 2010 07:17:22 -0800 (PST)
Message-ID: <20100222151722.A53C61300A8@annarchy.freedesktop.org>
References:
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Return-path:
In-Reply-To:
List-Unsubscribe: ,
List-Archive:
List-Post:
List-Help:
List-Subscribe: ,
Errors-To: dri-devel-bounces@lists.sourceforge.net
To: dri-devel@lists.sourceforge.net
List-Id: dri-devel@lists.freedesktop.org
http://bugs.freedesktop.org/show_bug.cgi?id=26686
--- Comment #5 from Ruslan 2010-02-22 07:17:22 PST ---
I tried to comment out this line:
bo_gem->tiling_mode = set_tiling.tiling_mode;
and now things seem to work. I.e., this statement:
>it overwrites the input arguments following an error in
>order to report the current tiling state of the buffer.
should be false (or, at least, not quite true). This is proved by the fact that
if i undo this part of commit:
- if (ret != 0) {
- *tiling_mode = bo_gem->tiling_mode;
- return -errno;
- }
, i.e. leave 'if' statement in place (and uncomment saving of current
tiling_mode), then things also work, because tiling_mode is not saved on error
now. So, i can conclude that sometimes the kernel doesn't report current tiling
state correctly on error.
--
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
--