From patchwork Tue Dec 1 16:47:47 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Shankar, Uma" X-Patchwork-Id: 11943211 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-11.7 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS,URIBL_BLOCKED,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id CDBC8C64E90 for ; Tue, 1 Dec 2020 16:14:35 +0000 (UTC) Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 5E9652222C for ; Tue, 1 Dec 2020 16:14:35 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 5E9652222C Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=intel.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=intel-gfx-bounces@lists.freedesktop.org Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id B4DDF89BFB; Tue, 1 Dec 2020 16:14:33 +0000 (UTC) Received: from mga06.intel.com (mga06.intel.com [134.134.136.31]) by gabe.freedesktop.org (Postfix) with ESMTPS id 36C3089B62 for ; Tue, 1 Dec 2020 16:14:32 +0000 (UTC) IronPort-SDR: X+8kmazVLVz/beGapkv0hP0dJf/XE8xB6T5xYJJ5qDl5l+e0eL7UFcaEkNm3NsZP9+epx12Qcf 5JQFHu06kxgQ== X-IronPort-AV: E=McAfee;i="6000,8403,9822"; a="234459514" X-IronPort-AV: E=Sophos;i="5.78,384,1599548400"; d="scan'208";a="234459514" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by orsmga104.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 01 Dec 2020 08:14:11 -0800 IronPort-SDR: 2btwmBUZRkG2OJEhLvUiwl2KmZY+GAewb7SV1oY2JUWuQI8ZATR42Je9sC1A48k4aVPTZP60XY bnBWZ1KerXPw== X-IronPort-AV: E=Sophos;i="5.78,384,1599548400"; d="scan'208";a="364813621" Received: from linux-desktop.iind.intel.com ([10.223.34.173]) by fmsmga004-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 01 Dec 2020 08:14:09 -0800 From: Uma Shankar To: intel-gfx@lists.freedesktop.org Date: Tue, 1 Dec 2020 22:17:47 +0530 Message-Id: <20201201164749.32702-1-uma.shankar@intel.com> X-Mailer: git-send-email 2.26.2 MIME-Version: 1.0 Subject: [Intel-gfx] [v5 0/2] Re-enable FBC on TGL X-BeenThere: intel-gfx@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Intel graphics driver community testing & development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: intel-gfx-bounces@lists.freedesktop.org Sender: "Intel-gfx" FBC was disabled on TGL due to random underruns. It has been determined that FBC will not work reliably with PSR2. This series re-enables fbc along with taking care of the PSR2 limitations for TGL. Bspec: 50422 HSD: 14010260002 v2: Addressed review comments and added bspec links v3: Addressed Ville's review comments v4: Change the WA as per Jose's recommendation. v5: Addressed Jose's review comments. Uma Shankar (2): drm/i915/display/tgl: Disable FBC with PSR2 Revert "drm/i915/display/fbc: Disable fbc by default on TGL" drivers/gpu/drm/i915/display/intel_fbc.c | 19 ++++++++++++------- drivers/gpu/drm/i915/i915_drv.h | 1 + 2 files changed, 13 insertions(+), 7 deletions(-)