From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-yw0-f180.google.com (mail-yw0-f180.google.com [209.85.161.180]) by kanga.kvack.org (Postfix) with ESMTP id 02A1B6B0256 for ; Wed, 10 Feb 2016 21:21:56 -0500 (EST) Received: by mail-yw0-f180.google.com with SMTP id q190so29767295ywd.3 for ; Wed, 10 Feb 2016 18:21:55 -0800 (PST) Received: from mail-yw0-x229.google.com (mail-yw0-x229.google.com. [2607:f8b0:4002:c05::229]) by mx.google.com with ESMTPS id n64si2427033ywf.322.2016.02.10.18.21.54 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 10 Feb 2016 18:21:55 -0800 (PST) Received: by mail-yw0-x229.google.com with SMTP id u200so29856353ywf.0 for ; Wed, 10 Feb 2016 18:21:54 -0800 (PST) MIME-Version: 1.0 In-Reply-To: References: <20160209122015.71a63bd2d7ee34599fb79e9e@linux-foundation.org> Date: Wed, 10 Feb 2016 18:21:54 -0800 Message-ID: Subject: Re: [Bug 112211] New: ATI Radeon Graphics not rendering correctly From: Dan Williams Content-Type: text/plain; charset=UTF-8 Sender: owner-linux-mm@kvack.org List-ID: To: Andrew Morton Cc: smf.linux@ntlworld.com, bugzilla-daemon@bugzilla.kernel.org, Linux MM On Tue, Feb 9, 2016 at 12:36 PM, Dan Williams wrote: > On Tue, Feb 9, 2016 at 12:20 PM, Andrew Morton > wrote: >> >> (switched to email. Please respond via emailed reply-to-all, not via the >> bugzilla web interface). >> >> On Tue, 09 Feb 2016 08:41:39 +0000 bugzilla-daemon@bugzilla.kernel.org wrote: >> >>> https://bugzilla.kernel.org/show_bug.cgi?id=112211 >>> >>> Bug ID: 112211 >>> Summary: ATI Radeon Graphics not rendering correctly >>> Product: Memory Management >>> Version: 2.5 >>> Kernel Version: Linux 4.5-rc3 >>> Hardware: IA-32 >>> OS: Linux >>> Tree: Mainline >>> Status: NEW >>> Severity: normal >>> Priority: P1 >>> Component: Page Allocator >>> Assignee: akpm@linux-foundation.org >>> Reporter: smf.linux@ntlworld.com >>> Regression: No >>> >>> On testing linux 4.5-rc( 1,2 and 3) I have found that my display is not >>> rendered correctly on starting the X server. My screen is mainly black with >>> portions of the desktop appearing from time to time. I initially raised this >>> with the DRM/Radeon team: >>> >>> https://bugs.freedesktop.org/show_bug.cgi?id=93998 >>> >>> On investigation a bisect identified the following commit as the source of my >>> problem: >>> >>> 01c8f1c44b83a0825b573e7c723b033cece37b86 is the first bad commit >>> commit 01c8f1c44b83a0825b573e7c723b033cece37b86 >>> Author: Dan Williams >>> Date: Fri Jan 15 16:56:40 2016 -0800 >>> >>> mm, dax, gpu: convert vm_insert_mixed to pfn_t >>> >>> Convert the raw unsigned long 'pfn' argument to pfn_t for the purpose of >>> evaluating the PFN_MAP and PFN_DEV flags. When both are set it triggers >>> _PAGE_DEVMAP to be set in the resulting pte. >>> >>> There are no functional changes to the gpu drivers as a result of this >>> conversion. >>> >>> Signed-off-by: Dan Williams >>> Cc: Dave Hansen >>> Cc: David Airlie >>> Signed-off-by: Andrew Morton >>> Signed-off-by: Linus Torvalds >>> >>> The problem is present on two AMD/ATI systems I have tried but is absent from >>> my Intel based laptop. All my systems are 32 bit LFS builds. >>> >>> I did try to contact Dan Williams but I am not sure that my e-mail got through, >>> can anyone suggest a way forward please ? >>> >> >> Does your kernel include >> >> commit 03fc2da63b9a33dce784a2075c7e068bb97cbf69 >> Author: Dan Williams >> Date: Tue Jan 26 09:48:05 2016 -0800 >> >> mm: fix pfn_t to page conversion in vm_insert_mixed >> > > Hi Stuart, from the bugzilla activity it looks like you are already > running with this fix. Can you append you kernel config file to the > bugzilla. There's something particular about 32-bit builds I'm > missing... Thanks for the config file. I was able to reproduce this in a VM that uses the DRM layer. The fix that works for me is available here in patchwork [1]. Let me know if it works in your environment. [1]: https://patchwork.kernel.org/patch/8276171/ -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: email@kvack.org