From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 73083] Semi-repeatable SIGBUS in R600UploadToScreenCS's memcpy Date: Fri, 27 Dec 2013 23:50:02 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============2097214114==" Return-path: Received: from culpepper.freedesktop.org (unknown [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id BEF02FAC3B for ; Fri, 27 Dec 2013 15:50:02 -0800 (PST) In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: dri-devel-bounces@lists.freedesktop.org Errors-To: dri-devel-bounces@lists.freedesktop.org To: dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org --===============2097214114== Content-Type: multipart/alternative; boundary="1388188202.6E3E41.11004"; charset="us-ascii" --1388188202.6E3E41.11004 Date: Fri, 27 Dec 2013 23:50:02 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" https://bugs.freedesktop.org/show_bug.cgi?id=73083 --- Comment #1 from Alex Deucher --- Created attachment 91242 --> https://bugs.freedesktop.org/attachment.cgi?id=91242&action=edit possible fix Does this fix the issue? The issue is that that buffer is larger than the pci bar window into vram. The patch forces a scratch copy for all uploads. It would also probably be good to fix the kernel to check the offset in radeon_mode_dumb_mmap() if the domain is vram to see if it's larger than the pci window and return an error if so. -- You are receiving this mail because: You are the assignee for the bug. --1388188202.6E3E41.11004 Date: Fri, 27 Dec 2013 23:50:02 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8"

Comment # 1 on bug 73083 from
Created attachment 91242 [details] [review]
possible fix

Does this fix the issue?  The issue is that that buffer is larger than the pci
bar window into vram.  The patch forces a scratch copy for all uploads.  It
would also probably be good to fix the kernel to check the offset in
radeon_mode_dumb_mmap() if the domain is vram to see if it's larger than the
pci window and return an error if so.


You are receiving this mail because:
  • You are the assignee for the bug.
--1388188202.6E3E41.11004-- --===============2097214114== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ dri-devel mailing list dri-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/dri-devel --===============2097214114==--