From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga04.intel.com ([192.55.52.120]:30693 "EHLO mga04.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1758844AbcHDQpj (ORCPT ); Thu, 4 Aug 2016 12:45:39 -0400 Date: Thu, 4 Aug 2016 19:44:14 +0300 From: Ville =?iso-8859-1?Q?Syrj=E4l=E4?= To: Daniel Vetter Cc: Chris Wilson , intel-gfx@lists.freedesktop.org, Daniel Vetter , stable@vger.kernel.org Subject: Re: [PATCH] drm/i915: Disable stolen on 865G Message-ID: <20160804164414.GI4329@intel.com> References: <1470304564-9842-1-git-send-email-chris@chris-wilson.co.uk> <20160804163121.GP6232@phenom.ffwll.local> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20160804163121.GP6232@phenom.ffwll.local> Sender: stable-owner@vger.kernel.org List-ID: On Thu, Aug 04, 2016 at 06:31:21PM +0200, Daniel Vetter wrote: > On Thu, Aug 04, 2016 at 10:56:04AM +0100, Chris Wilson wrote: > > It appears our calculation for the address of stolen memory is incorrect > > for 865G, so for the time being disable our use of that memory. > > > > Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=96473 > > Fixes: 0ad98c74e093 ("drm/i915: Deatermine the stolen memory base address...") > > Signed-off-by: Chris Wilson > > Cc: Ville Syrj�l� > > Cc: Daniel Vetter > > Cc: stable@vger.kernel.org > > Acked-by: Daniel Vetter There's a potentially better patch (one that actually fixes the stolen base calculation) attached to the bug. > > --- > > drivers/gpu/drm/i915/i915_gem_stolen.c | 1 + > > 1 file changed, 1 insertion(+) > > > > diff --git a/drivers/gpu/drm/i915/i915_gem_stolen.c b/drivers/gpu/drm/i915/i915_gem_stolen.c > > index e1791fe96674..8b501ddbc784 100644 > > --- a/drivers/gpu/drm/i915/i915_gem_stolen.c > > +++ b/drivers/gpu/drm/i915/i915_gem_stolen.c > > @@ -122,6 +122,7 @@ static unsigned long i915_stolen_to_physical(struct drm_device *dev) > > * always at TOUD? Ie. is it always the last > > * one to be allocated by the BIOS? > > */ > > + if (0) /* https://bugs.freedesktop.org/show_bug.cgi?id=96473 */ > > pci_bus_read_config_word(dev->pdev->bus, PCI_DEVFN(0, 0), > > I865_TOUD, &toud); > > > > -- > > 2.8.1 > > > > -- > Daniel Vetter > Software Engineer, Intel Corporation > http://blog.ffwll.ch -- Ville Syrj�l� Intel OTC