Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752916Ab3EaDrd (ORCPT ); Thu, 30 May 2013 23:47:33 -0400 Received: from mail-ea0-f172.google.com ([209.85.215.172]:52292 "EHLO mail-ea0-f172.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750864Ab3EaDr2 (ORCPT ); Thu, 30 May 2013 23:47:28 -0400 MIME-Version: 1.0 In-Reply-To: References: Date: Fri, 31 May 2013 13:47:26 +1000 Message-ID: Subject: Re: [PATCH v3 3/9] drm: Update drm_addmap and drm_mmap to use PAT WC instead of MTRRs From: Dave Airlie To: Andy Lutomirski Cc: linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, linux-fbdev@vger.kernel.org, Daniel Vetter , Jerome Glisse , Alex Deucher Content-Type: text/plain; charset=ISO-8859-1 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 970 Lines: 24 On Tue, May 14, 2013 at 9:58 AM, Andy Lutomirski wrote: > Previously, DRM_FRAME_BUFFER mappings, as well as DRM_REGISTERS > mappings with DRM_WRITE_COMBINING set, resulted in an unconditional > MTRR being added but the actual mappings being created as UC-. > > Now these mappings have the MTRR added only if needed, but they will > be mapped with pgprot_writecombine. > > The non-WC DRM_REGISTERS case now uses pgprot_noncached instead of > hardcoding the bit twiddling. > > The DRM_AGP case is unchanged for now. Just FYI this breaks on powerpc build, I've fixed it up and pushed the fixed version to drm-next-staging, I'll push that to drm-next in a couple of days, once kbuild robot hits it. Dave. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/