From patchwork Mon Nov 6 21:19:04 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?b?VmlsbGUgU3lyasOkbMOk?= X-Patchwork-Id: 13447488 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 8FB73C4167B for ; Mon, 6 Nov 2023 21:19:22 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 2D82010E42B; Mon, 6 Nov 2023 21:19:22 +0000 (UTC) Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.7]) by gabe.freedesktop.org (Postfix) with ESMTPS id CA2C610E42B for ; Mon, 6 Nov 2023 21:19:19 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1699305560; x=1730841560; h=from:to:subject:date:message-id:mime-version: content-transfer-encoding; bh=vxZ8+cdE7bNEdituvCJ7k3QUeyDNbxFf4v293MTUyes=; b=kVDEknlHPoVP2+CTL93icIvdKD8i+xoYtl91GfjSI8d5J9VwF8ljRx+G hDkw2GJly6SBZ9exeNF/+TXD62CIBWGBg09miw9pBhD0mZT1MDG3oePtG 11RdztLgos13I3xO155e0Rfl2aTUU90x/ToT+TKer9K4c3agM+wRwsoYy DcX9VHA5muEyotkrfjE+ow4ACRNQfJj7teP0+m/YnU+s0QF1dg2A9nWwF 3bCbCLxkbsoDf+CmnM6OEt9qqD+gzWg9Qh0uZfICAoQoSpoM7X1l8TaxA mvY0A+chnXlangu+A4qWX3OxNc+cWHb3+LtaaG1FjTN4OHFrsu3Nfi/Ee A==; X-IronPort-AV: E=McAfee;i="6600,9927,10886"; a="10911451" X-IronPort-AV: E=Sophos;i="6.03,282,1694761200"; d="scan'208";a="10911451" Received: from orsmga007.jf.intel.com ([10.7.209.58]) by fmvoesa101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 06 Nov 2023 13:19:19 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10886"; a="755964162" X-IronPort-AV: E=Sophos;i="6.03,282,1694761200"; d="scan'208";a="755964162" Received: from stinkpipe.fi.intel.com (HELO stinkbox) ([10.237.72.74]) by orsmga007.jf.intel.com with SMTP; 06 Nov 2023 13:19:16 -0800 Received: by stinkbox (sSMTP sendmail emulation); Mon, 06 Nov 2023 23:19:15 +0200 From: Ville Syrjala To: intel-gfx@lists.freedesktop.org Date: Mon, 6 Nov 2023 23:19:04 +0200 Message-ID: <20231106211915.13406-1-ville.syrjala@linux.intel.com> X-Mailer: git-send-email 2.41.0 MIME-Version: 1.0 Subject: [Intel-gfx] [PATCH 00/11] drm/i915: Audio fastset, and some 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" From: Ville Syrjälä Implement audio fastset. Probably mosy useful in avoiding some fastboot blinks, runtime audio fastset is less likely to be a typical use case. Also try to fix up a mess with pre_plane_update() vs. already disabled pipe. Ville Syrjälä (11): drm/i915: Check pipe active state in {planes,vrr}_{enabling,disabling}() drm/i915: Call intel_pre_plane_updates() also for pipes getting enabled drm/i915: Polish some RMWs drm/i915: Push audio enable/disable further out drm/i915: Wrap g4x+ DP/HDMI audio enable/disable drm/i915: Split g4x+ DP audio presence detect from port enable drm/i915: Split g4x+ HDMI audio presence detect from port enable drm/i915: Convert audio enable/disable into encoder vfuncs drm/i915: Hoist the encoder->audio_{enable,disable}() calls higher up drm/i915: Push audio_{enable,disable}() to the pre/post pane update stage drm/i915: Implement audio fastset drivers/gpu/drm/i915/display/g4x_dp.c | 46 ++++++- drivers/gpu/drm/i915/display/g4x_hdmi.c | 66 +++++---- drivers/gpu/drm/i915/display/intel_ddi.c | 11 +- drivers/gpu/drm/i915/display/intel_display.c | 128 +++++++++++++----- .../drm/i915/display/intel_display_types.h | 6 + drivers/gpu/drm/i915/display/intel_dp_mst.c | 6 +- drivers/gpu/drm/i915/display/intel_sdvo.c | 23 +++- 7 files changed, 200 insertions(+), 86 deletions(-)