From patchwork Wed Mar 22 10:34:06 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: "Hogander, Jouni" X-Patchwork-Id: 13183850 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org 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 smtp.lore.kernel.org (Postfix) with ESMTPS id 347D0C6FD1C for ; Wed, 22 Mar 2023 10:34:35 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id A7C3310E35A; Wed, 22 Mar 2023 10:34:34 +0000 (UTC) Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by gabe.freedesktop.org (Postfix) with ESMTPS id 39AB010E35A for ; Wed, 22 Mar 2023 10:34:33 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1679481273; x=1711017273; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=aYvksq6NQ/aHXMhQhISpSDTiRzdBzsGVNPmBf3Rlzw0=; b=EdmgT3QmM4KfcIBRjxxSK//mq/zzQwf0pDIQTN2gvDGjqim7Ykhj+3xM xjrZHpC+guWv4Yu78B0naFERJCmLGQBHxqUX4Jbvd3dFHTu1cm219NgAU WBOfJT0Sf4DGlIGDJR2l+wguWreKxO7OFdDof6pFUvFgQYpAxFEOhVehL b2gDPtlVtyD1MzMtnM5/+zE1utfqqAnJTsyXI+OV5dp+LczA0J2kKTjKk O+E568kjsgrT+Hx9nDrYmb+K+TLuGTEnI2za2oZ4Gbb3FHU/muwGlDPfA 8pO4nE7vaIK0anUEGD0r4jE+gDc4yjQMGBf84DFf0ib5xA0fIeR46+e2w A==; X-IronPort-AV: E=McAfee;i="6600,9927,10656"; a="340716610" X-IronPort-AV: E=Sophos;i="5.98,281,1673942400"; d="scan'208";a="340716610" Received: from fmsmga008.fm.intel.com ([10.253.24.58]) by orsmga102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 22 Mar 2023 03:34:32 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10656"; a="746249838" X-IronPort-AV: E=Sophos;i="5.98,281,1673942400"; d="scan'208";a="746249838" Received: from swcompto-mobl1.amr.corp.intel.com (HELO jhogande-mobl1.ger.corp.intel.com) ([10.252.63.36]) by fmsmga008-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 22 Mar 2023 03:34:30 -0700 From: =?utf-8?q?Jouni_H=C3=B6gander?= To: intel-gfx@lists.freedesktop.org Date: Wed, 22 Mar 2023 12:34:06 +0200 Message-Id: <20230322103412.123943-1-jouni.hogander@intel.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Organization: Intel Finland Oy - BIC 0357606-4 - Westendinkatu 7, 02160 Espoo Subject: [Intel-gfx] [PATCH v5 0/6] High refresh rate PSR fixes 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" Fix/adjust Wa_16013835468 and implement Wa_14015648006. Implement Wa_1136 and check for vblank being long enough for psr2. v5: - Add missing patch v4: - Keep/fix Wa_16013835468 - Use calculated block count number instead of fixed 12 v3: - apply Wa_16013835468 for icl as well - set/clear chicken bit in post plane update - Unify pre/post hooks v2: Implement Wa_1136 Cc: Ville Syrjälä Cc: Stanislav Lisovskiy Cc: Mika Kahola Jouni Högander (6): drm/i915/psr: Unify pre/post hooks drm/i915/psr: Modify/fix Wa_16013835468 and prepare for Wa_14015648006 drm/i915/psr: Implement Wa_14015648006 drm/i915/psr: Add helpers for block count number handling drm/i915/psr: Check that vblank is long enough for psr2 drm/i915/psr: Implement Display WA #1136 .../drm/i915/display/intel_display_types.h | 1 + drivers/gpu/drm/i915/display/intel_psr.c | 106 ++++++++++++++---- drivers/gpu/drm/i915/display/skl_watermark.c | 6 +- 3 files changed, 85 insertions(+), 28 deletions(-)