From patchwork Wed Aug 28 07:42:18 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: You-Sheng Yang X-Patchwork-Id: 1154277 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=lists.ubuntu.com (client-ip=91.189.94.19; helo=huckleberry.canonical.com; envelope-from=kernel-team-bounces@lists.ubuntu.com; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=canonical.com Received: from huckleberry.canonical.com (huckleberry.canonical.com [91.189.94.19]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 46JHlF2t0Pz9sN6; Wed, 28 Aug 2019 17:42:33 +1000 (AEST) Received: from localhost ([127.0.0.1] helo=huckleberry.canonical.com) by huckleberry.canonical.com with esmtp (Exim 4.86_2) (envelope-from ) id 1i2sb8-0008O4-3t; Wed, 28 Aug 2019 07:42:30 +0000 Received: from mail-pf1-f195.google.com ([209.85.210.195]) by huckleberry.canonical.com with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.86_2) (envelope-from ) id 1i2sb4-0008Mo-Do for kernel-team@lists.ubuntu.com; Wed, 28 Aug 2019 07:42:26 +0000 Received: by mail-pf1-f195.google.com with SMTP id w2so1162464pfi.3 for ; Wed, 28 Aug 2019 00:42:26 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=Kaye3TV6a9XMePhZUSJeCu0Gk+glbSf90upYRq684a4=; b=cXcn/gZsPKdaNq7Eseukyhj+iz8lQpoWk4tla6sWJGrwORgbXqMJzet+8jWBYkZptc AxyLBeIYtvOmN/wsA3s03H5coPNcw+7E/8CsdmDaTVSCrkN3YiN5TG2e8RoCibXp677C 5RCkK4sxIVn5la8V3B+Vjmdi2fxXxZDePF6Oe0h8aIyQD5oPcYnFgAFRzWmnonhWX0W2 M4PG47+zattVDbjGxoq1wSKilGrkLDqutNsGORA3rRHFrjnFgTRZE5zjugT9q11G4C0p 0FDSPvGbdLGvzt2aGo2l4ZxlZr6xvd8DizlhsPmAcWqp+3fRDtlcxmzsxGUecRoKDqRG BwnA== X-Gm-Message-State: APjAAAViCw5fpTSeIPyh/FtQJlzYvGzFGV76Zwb1FJggdpK93S8wCM5F USHXCuimmJzic3Acfwy+jkI6NNGK X-Google-Smtp-Source: APXvYqwZenLib9UB6w75okgxE2oyfR1+FCOYJwtaBOJ42g/FJcxycR3BIprqPgv3yWgd0OKzcEGS1Q== X-Received: by 2002:a17:90a:b115:: with SMTP id z21mr2858886pjq.79.1566978144600; Wed, 28 Aug 2019 00:42:24 -0700 (PDT) Received: from localhost.localdomain (61-220-137-37.HINET-IP.hinet.net. [61.220.137.37]) by smtp.gmail.com with ESMTPSA id 1sm1828477pfy.169.2019.08.28.00.42.23 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 28 Aug 2019 00:42:24 -0700 (PDT) From: You-Sheng Yang To: kernel-team@lists.ubuntu.com Subject: [PATCH 2/2][SRU][OEM-OSP1-B] UBUNTU: SAUCE: drm/i915/fbc: disable framebuffer compression on IceLake Date: Wed, 28 Aug 2019 15:42:18 +0800 Message-Id: <20190828074218.15518-3-vicamo.yang@canonical.com> X-Mailer: git-send-email 2.23.0 In-Reply-To: <20190828074218.15518-1-vicamo.yang@canonical.com> References: <20190828074218.15518-1-vicamo.yang@canonical.com> MIME-Version: 1.0 X-BeenThere: kernel-team@lists.ubuntu.com X-Mailman-Version: 2.1.20 Precedence: list List-Id: Kernel team discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: kernel-team-bounces@lists.ubuntu.com Sender: "kernel-team" BugLink: https://bugs.launchpad.net/ubuntu/bug/1840236 This is the same thing to commit edf87a92e112ede83916155a156e41787ea11186 but found on IceLake platforms as well. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=111484 Signed-off-by: You-Sheng Yang --- drivers/gpu/drm/i915/intel_fbc.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/gpu/drm/i915/intel_fbc.c b/drivers/gpu/drm/i915/intel_fbc.c index 6d3c5057b2413..8babbd3e3459a 100644 --- a/drivers/gpu/drm/i915/intel_fbc.c +++ b/drivers/gpu/drm/i915/intel_fbc.c @@ -1280,7 +1280,8 @@ static int intel_sanitize_fbc_option(struct drm_i915_private *dev_priv) return 0; /* https://bugs.freedesktop.org/show_bug.cgi?id=108085 */ - if (IS_GEMINILAKE(dev_priv)) + /* https://bugs.freedesktop.org/show_bug.cgi?id=111484 */ + if (IS_GEMINILAKE(dev_priv) || IS_ICELAKE(dev_priv)) return 0; if (IS_BROADWELL(dev_priv) || INTEL_GEN(dev_priv) >= 9)