Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp1626179yba; Thu, 25 Apr 2019 03:03:44 -0700 (PDT) X-Google-Smtp-Source: APXvYqyqgjClOSEZucXLnpjRYd12oaxeP/ugyzFyBwl0K8o6pKbm31WvPdJke64EhOkJH96l/fRI X-Received: by 2002:a17:902:5c5:: with SMTP id f63mr37009983plf.327.1556186624223; Thu, 25 Apr 2019 03:03:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1556186624; cv=none; d=google.com; s=arc-20160816; b=fxAfCgGaT6WvG3G7TgNBSoXpjlbQANzp1lGvJMmdAZ9mHwDv28pfEI3VrANSybVrbG vZiD1gM7685n38iQD8H5c4Pp2Yf35Csnftd9LaDQuvIXQUCKwy9en0vQYgXGkcoyZVa2 ZGyTPftA2Fnp+WJLM0PgevT/JL/TahGhMz0vm3ew7feSUSuw7FpVpF4NiVqiSZvK2rN+ 78RNKHBH+saaJShBehoXKPXvlwttpb+oaeekchkuW9TZu1i+3FVQSu3YdiJAf2jW9xjs 8eX5J0kMBZ1g/A9w4d/qglgn0RDD6zDX/s7q95Ei+npfqFnlPRAbRR1exzr0crE2Chdg WTvA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:date:cc:to:from:subject :message-id; bh=2/QyDQB+tPo04b8iJdajsIVj2IDmspIonIe/Kvpv0IM=; b=gMmSrczHucIgBTNnAFdPkScYg6V8Tv/S1JDX/PHiENtnt+Ln59ydky9F1/jppH5bWf 0YeIt/EHvrwdiUX2oAmgBxsJ4QJAiYmeexNcQwKatiWgc+fq2b8gybghTU5oO3n2yn2r Hb82HZ61C1QuJoaKcXlh3ZFvFE74+VdPkKCP53eLcO0PEBM2jw1KyBAw76SQWsmajmUD q5yHq+N2f/cs23lluFMnclLeOhYZy4KJI4p7RhHKmZm5dn5q3e6OeCftWkyqNCq9Qury WxpAx3BYa2KekLz/RhQpkWN+ajMa8Kp52lvyJEPr79zL81PTC6+qzvXsumNc2ZWThvzd WYYw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id f3si22402969pfc.92.2019.04.25.03.03.27; Thu, 25 Apr 2019 03:03:44 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731655AbfDXU1J (ORCPT + 99 others); Wed, 24 Apr 2019 16:27:09 -0400 Received: from mga18.intel.com ([134.134.136.126]:48037 "EHLO mga18.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725989AbfDXU1J (ORCPT ); Wed, 24 Apr 2019 16:27:09 -0400 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga008.fm.intel.com ([10.253.24.58]) by orsmga106.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 24 Apr 2019 13:27:08 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.60,390,1549958400"; d="scan'208";a="143320430" Received: from przanoni-mobl.amr.corp.intel.com ([10.254.90.120]) by fmsmga008.fm.intel.com with ESMTP; 24 Apr 2019 13:27:07 -0700 Message-ID: <15be67b19d898ab74c9ae6d9d9080ef339772e00.camel@intel.com> Subject: Re: [PATCH] i915: disable framebuffer compression on GeminiLake From: Paulo Zanoni To: Chris Wilson , Daniel Vetter , David Airlie , Jani Nikula , Jian-Hong Pan , Joonas Lahtinen , Rodrigo Vivi Cc: intel-gfx@lists.freedesktop.org, dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org, linux@endlessm.com, Daniel Drake Date: Wed, 24 Apr 2019 13:27:07 -0700 In-Reply-To: <155613593248.25205.769591454199358982@skylake-alporthouse-com> References: <20190423092810.28359-1-jian-hong@endlessm.com> <155613593248.25205.769591454199358982@skylake-alporthouse-com> Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.30.5 (3.30.5-1.fc29) MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Em qua, 2019-04-24 às 20:58 +0100, Chris Wilson escreveu: > Quoting Jian-Hong Pan (2019-04-23 10:28:10) > > From: Daniel Drake > > > > On many (all?) the Gemini Lake systems we work with, there is frequent > > momentary graphical corruption at the top of the screen, and it seems > > that disabling framebuffer compression can avoid this. > > > > The ticket was reported 6 months ago and has already affected a > > multitude of users, without any real progress being made. So, lets > > disable framebuffer compression on GeminiLake until a solution is found. > > > > Buglink: https://bugs.freedesktop.org/show_bug.cgi?id=108085 > > Signed-off-by: Daniel Drake > > Signed-off-by: Jian-Hong Pan > > Fixes: fd7d6c5c8f3e ("drm/i915: enable FBC on gen9+ too") ? > Cc: Paulo Zanoni > Cc: Daniel Vetter > Cc: Jani Nikula > Cc: # v4.11+ > > glk landed 1 month before, so that seems the earliest broken point. > The bug is well reported, the bug author is helpful and it even has a description of "steps to reproduce" that looks very easy (although I didn't try it). Everything suggests this is a bug the display team could actually solve with not-so-many hours of debugging. In the meantime, unbreak the systems: Reviewed-by: Paulo Zanoni > > --- > > drivers/gpu/drm/i915/intel_fbc.c | 4 ++++ > > 1 file changed, 4 insertions(+) > > > > diff --git a/drivers/gpu/drm/i915/intel_fbc.c b/drivers/gpu/drm/i915/intel_fbc.c > > index 656e684e7c9a..fc018f3f53a1 100644 > > --- a/drivers/gpu/drm/i915/intel_fbc.c > > +++ b/drivers/gpu/drm/i915/intel_fbc.c > > @@ -1278,6 +1278,10 @@ static int intel_sanitize_fbc_option(struct drm_i915_private *dev_priv) > > if (!HAS_FBC(dev_priv)) > > return 0; > > > > + /* https://bugs.freedesktop.org/show_bug.cgi?id=108085 */ > > + if (IS_GEMINILAKE(dev_priv)) > > + return 0; > > + > > if (IS_BROADWELL(dev_priv) || INTEL_GEN(dev_priv) >= 9) > > return 1; > > > > -- > > 2.21.0 > >