From patchwork Sat Aug 20 00:58:18 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Srivatsa, Anusha" X-Patchwork-Id: 12949433 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 99974C28D13 for ; Sat, 20 Aug 2022 00:59:35 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id E675610E17D; Sat, 20 Aug 2022 00:58:58 +0000 (UTC) Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by gabe.freedesktop.org (Postfix) with ESMTPS id 6CF5910E17D for ; Sat, 20 Aug 2022 00:58:51 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1660957131; x=1692493131; h=from:to:subject:date:message-id:mime-version: content-transfer-encoding; bh=XZPxGPtBvg8Je1r0DoLPmN9E8epBX/nMTLpzLWMlvks=; b=FkQ1DF6H/q/I6Q173WyDD2VV9bPV2KxHjGI/mDnYVlFT5b3FnRnCSiHt pD0115JnuspA6uOLntX/DdByeWvg7Rup+QxauYJOLfRpFY/VmXqMJ5QLs J8+x0DvDlKG268N879+DoUq+8cXbhXFzFEeWfyCbu8k5L7YrMUVpYZCDz YhaTFZHSPvfb5jMHx38Z3LkkQwNdc4c3c+feVHEQsikVCBHjYa5SWCic6 ChSB7/uDs6mGlno1D5APK0TlfI1PmaShq7turDwA2ptP6/9zdPazlr7br 0C1gjIdQeJf4C3bMwC/VeU0TWJftLpqazDAO8zShOoqsDqeFCywkF5xWr w==; X-IronPort-AV: E=McAfee;i="6500,9779,10444"; a="294411873" X-IronPort-AV: E=Sophos;i="5.93,249,1654585200"; d="scan'208";a="294411873" Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by orsmga103.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 19 Aug 2022 17:58:50 -0700 X-IronPort-AV: E=Sophos;i="5.93,249,1654585200"; d="scan'208";a="676626669" Received: from cdhirema-mobl.amr.corp.intel.com (HELO anushasr-mobl7.intel.com) ([10.212.188.51]) by fmsmga004-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 19 Aug 2022 17:58:49 -0700 From: Anusha Srivatsa To: intel-gfx@lists.freedesktop.org Date: Fri, 19 Aug 2022 17:58:18 -0700 Message-Id: <20220820005822.102716-1-anusha.srivatsa@intel.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Subject: [Intel-gfx] [PATCH 0/4] CDCLK churn: move checks to atomic check 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" The intention is to check for squashing, crawling and modeset conditions at atomic check phase and prepare for commit phase. This basically means the in-flight cdclk state is available. intel_cdclk_can_squash(), intel_cdclk_can_crawl() and intel_cdclk_needs_modeset() have changes to accommodate this. Anusha Srivatsa (4): drm/i915/display: Add CDCLK actions to intel_cdclk_state drm/i915/squash: s/intel_cdclk_can_squash/intel_cdclk_squash drm/i915/display: s/intel_cdclk_can_crawl/intel_cdclk_crawl drm/i915/display: Add cdclk checks to atomic check drivers/gpu/drm/i915/display/intel_cdclk.c | 150 +++++++++++++-------- drivers/gpu/drm/i915/display/intel_cdclk.h | 13 ++ 2 files changed, 108 insertions(+), 55 deletions(-)