From patchwork Wed Aug 25 00:58:32 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: "Souza, Jose" X-Patchwork-Id: 12456133 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.8 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS,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 9B553C4338F for ; Wed, 25 Aug 2021 00:53:43 +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 2ACA961176 for ; Wed, 25 Aug 2021 00:53:43 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 2ACA961176 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=intel.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=lists.freedesktop.org Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 9AD8089238; Wed, 25 Aug 2021 00:53:42 +0000 (UTC) Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by gabe.freedesktop.org (Postfix) with ESMTPS id 317A989238 for ; Wed, 25 Aug 2021 00:53:42 +0000 (UTC) X-IronPort-AV: E=McAfee;i="6200,9189,10086"; a="204623086" X-IronPort-AV: E=Sophos;i="5.84,349,1620716400"; d="scan'208";a="204623086" Received: from orsmga001.jf.intel.com ([10.7.209.18]) by orsmga101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 24 Aug 2021 17:53:41 -0700 X-IronPort-AV: E=Sophos;i="5.84,349,1620716400"; d="scan'208";a="507826391" Received: from josouza-mobl2.jf.intel.com (HELO josouza-mobl2.intel.com) ([10.24.14.60]) by orsmga001-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 24 Aug 2021 17:53:41 -0700 From: =?utf-8?q?Jos=C3=A9_Roberto_de_Souza?= To: intel-gfx@lists.freedesktop.org Cc: Gwan-gyeong Mun , Daniel Vetter Date: Tue, 24 Aug 2021 17:58:32 -0700 Message-Id: <20210825005840.170796-1-jose.souza@intel.com> X-Mailer: git-send-email 2.33.0 MIME-Version: 1.0 Subject: [Intel-gfx] [PATCH v2 0/8] Drop frontbuffer rendering support from Skylake and newer 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" This will break some IGT tests, here(https://patchwork.freedesktop.org/series/93764/) I fixed the ones part of fast-feedback test list but probably there will be more tests needing fix. v2: - dropped a "drm/damage_helper" patch - new patch renaming all DRRS functions to intel_drrs_*() - enabling PSR support for display 9, it was left disabled as mistake - returning in frontbuffer functions to not set fb_tracking.busy/flip_bits Cc: Gwan-gyeong Mun Cc: Daniel Vetter José Roberto de Souza (8): drm/i915/display: Drop PSR support from HSW and BDW drm/i915/display: Move DRRS code its own file drm/i915/display: Renaming DRRS functions to intel_drrs_*() drm/i915/display: Some code improvements and code style fixes for DRRS drm/i915/display: Share code between intel_drrs_flush and intel_drrs_invalidate drm/i915/display: Prepare DRRS for frontbuffer rendering drop drm/i915/display/skl+: Drop frontbuffer rendering support drm/i915/display: Drop PSR frontbuffer rendering support Documentation/gpu/i915.rst | 25 +- drivers/gpu/drm/i915/Makefile | 1 + drivers/gpu/drm/i915/display/intel_cursor.c | 6 +- drivers/gpu/drm/i915/display/intel_ddi.c | 7 +- drivers/gpu/drm/i915/display/intel_display.c | 2 + .../drm/i915/display/intel_display_debugfs.c | 9 +- .../drm/i915/display/intel_display_types.h | 2 - drivers/gpu/drm/i915/display/intel_dp.c | 473 +----------------- drivers/gpu/drm/i915/display/intel_dp.h | 11 - drivers/gpu/drm/i915/display/intel_drrs.c | 450 +++++++++++++++++ drivers/gpu/drm/i915/display/intel_drrs.h | 36 ++ drivers/gpu/drm/i915/display/intel_fb.c | 8 +- .../gpu/drm/i915/display/intel_frontbuffer.c | 25 +- drivers/gpu/drm/i915/display/intel_psr.c | 283 ++--------- drivers/gpu/drm/i915/display/intel_psr.h | 8 +- drivers/gpu/drm/i915/i915_drv.h | 4 +- drivers/gpu/drm/i915/i915_irq.c | 16 - drivers/gpu/drm/i915/i915_pci.c | 4 +- drivers/gpu/drm/i915/i915_reg.h | 21 +- 19 files changed, 581 insertions(+), 810 deletions(-) create mode 100644 drivers/gpu/drm/i915/display/intel_drrs.c create mode 100644 drivers/gpu/drm/i915/display/intel_drrs.h