From mboxrd@z Thu Jan 1 00:00:00 1970 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 1170BD1269D for ; Wed, 3 Dec 2025 10:31:49 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 9203610E74A; Wed, 3 Dec 2025 10:31:48 +0000 (UTC) Authentication-Results: gabe.freedesktop.org; dkim=pass (2048-bit key; unprotected) header.d=intel.com header.i=@intel.com header.b="VeV1TpSC"; dkim-atps=neutral Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.16]) by gabe.freedesktop.org (Postfix) with ESMTPS id 7A1F010E74A; Wed, 3 Dec 2025 10:31:47 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1764757908; x=1796293908; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=Mbguk0yYrG+8cFb1n/COeh1BigSuvLzYBLbcRvwjBto=; b=VeV1TpSC+WAaoYoMqax32OM74OYQzvGF34XhD+6DwwabUAR0enByYlZo SdhwY2FmsujdyrHpvx+Mt9L+i58O37kLSjbihJAEwpygae7aebs7hWa0B gnXP++0HkMvrxxgETXg7Stv3M5Cr+9YqPGRZadmqetzP9g4iG/nCr8Byt xejYwqvXlwlG7gi/SYlwYXDfKMqjMEclqPA1b+bU1usfMrXUVwEGb5nD4 GZPJ9mjKvpqchE+ytNehr2MfIsSz0EbVxeuNbXv2j0gZn3cbIuEXkeYxR KAbuqeK+JVZRxMqLdM5URU5sNWxzV/x04qWftpJuUiG3eXChF3oKgQ7Uy g==; X-CSE-ConnectionGUID: 6dzjmLpiQ6aIFgC181bYOA== X-CSE-MsgGUID: z0FW/WONRsONBK4tRvc4MA== X-IronPort-AV: E=McAfee;i="6800,10657,11631"; a="66912105" X-IronPort-AV: E=Sophos;i="6.20,245,1758610800"; d="scan'208";a="66912105" Received: from orviesa007.jf.intel.com ([10.64.159.147]) by orvoesa108.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 03 Dec 2025 02:31:48 -0800 X-CSE-ConnectionGUID: jybkWN4CQ8+kfZO7REryQQ== X-CSE-MsgGUID: UW4/y6AxSXGuyt2uBqLKhw== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.20,245,1758610800"; d="scan'208";a="194657357" Received: from lfiedoro-mobl.ger.corp.intel.com (HELO jhogande-mobl3.intel.com) ([10.245.246.208]) by orviesa007-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 03 Dec 2025 02:31:46 -0800 From: =?UTF-8?q?Jouni=20H=C3=B6gander?= To: intel-gfx@lists.freedesktop.org, intel-xe@lists.freedesktop.org Cc: imre.deak@intel.com, =?UTF-8?q?Jouni=20H=C3=B6gander?= Subject: [PATCH v2 0/8] Move PSR/Panel Replay sink data into intel_connector Date: Wed, 3 Dec 2025 12:31:26 +0200 Message-ID: <20251203103134.1054430-1-jouni.hogander@intel.com> X-Mailer: git-send-email 2.43.0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Organization: Intel Finland Oy - BIC 0357606-4 - Westendinkatu 7, 02160 Espoo Content-Transfer-Encoding: 8bit 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 is a preparation patch set for MST Panel Replay. In case of MST Panel Replay we may have several CRTCs on single pipe. There CRTCs representing virtual devices within e.g. docking station. All these virtual devices has their own DPCD registers containing their Panel Replay capability information. These needs to be taken into account when computing used Panel Replay state. Due to this we can't continue having only sink capabilities stored in struct intel_dp. This patch set is moving Panel Replay capabilities into struct intel_connector to make them available for Panel Replay CRTC state computation. v2: - use __le16 for two byte values in dpcd - use sizeof instead of hardcoded size in reading dpcd - drop unnecessarily passing intel_dp pointer - inline simple helpers - use intel_dp_attached_dp instead of passing as a parameter - move pr/psr_dpcd into *_caps substruct - add FIXME - extra w/s removed Jouni Högander (8): drm/i915/psr: Add panel granularity information into intel_connector drm/i915/psr: Use SU granularity information available in intel_connector drm/i915/psr: Compute Panel Replay/Adaptive Sync coexistence behavior drm/i915/psr: Move pr_dpcd and psr_dpcd to intel_connector drm/i915/psr: Clear pr_dpcd as well on disconnect drm/i915/psr: Move Panel Replay DSC sink support data to intel_connector drm/i915/psr: Move sink PSR and Panel Replay booleans to intel_connector drm/i915/psr: Move sink_sync_latency to intel_connector drivers/gpu/drm/i915/display/intel_alpm.c | 6 +- .../drm/i915/display/intel_display_types.h | 45 ++- drivers/gpu/drm/i915/display/intel_dp.c | 17 +- drivers/gpu/drm/i915/display/intel_psr.c | 298 +++++++++--------- drivers/gpu/drm/i915/display/intel_psr.h | 2 +- 5 files changed, 205 insertions(+), 163 deletions(-) -- 2.43.0