From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ben Widawsky Subject: Re: [PATCH 1/2] drm/i915: Limit the ioremap of the PCI bar to the registers Date: Fri, 14 Sep 2012 11:50:30 -0700 Message-ID: <20120914115030.5a11a2ee@bwidawsk.net> References: <1347620267-11275-1-git-send-email-chris@chris-wilson.co.uk> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from shiva.chad-versace.us (209-20-75-48.static.cloud-ips.com [209.20.75.48]) by gabe.freedesktop.org (Postfix) with ESMTP id BC787A0F03 for ; Fri, 14 Sep 2012 11:50:39 -0700 (PDT) In-Reply-To: <1347620267-11275-1-git-send-email-chris@chris-wilson.co.uk> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: intel-gfx-bounces+gcfxdi-intel-gfx=m.gmane.org@lists.freedesktop.org Errors-To: intel-gfx-bounces+gcfxdi-intel-gfx=m.gmane.org@lists.freedesktop.org To: Chris Wilson Cc: intel-gfx@lists.freedesktop.org List-Id: intel-gfx@lists.freedesktop.org On Fri, 14 Sep 2012 11:57:46 +0100 Chris Wilson wrote: > In the future we may like to experiment with using a WC map of the GTT > portion. However, that will conflict with i915.ko mapping the entire bar > as UC in order to access the GPU registers. Instead we can shrink the > register ioremap to only map the register block. > > Signed-off-by: Chris Wilson Since I really don't want to pull out docs for anything less than gen6... Tested-by (IVB): Ben Widawsky Acked-by: Ben Widawsky -- Ben Widawsky, Intel Open Source Technology Center