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 67A4EC369D3 for ; Wed, 23 Apr 2025 09:46:52 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 2CB3710E65A; Wed, 23 Apr 2025 09:46:52 +0000 (UTC) Authentication-Results: gabe.freedesktop.org; dkim=pass (2048-bit key; unprotected) header.d=intel.com header.i=@intel.com header.b="S+0lxfCE"; dkim-atps=neutral Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.10]) by gabe.freedesktop.org (Postfix) with ESMTPS id C2B9710E659; Wed, 23 Apr 2025 09:46:48 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1745401609; x=1776937609; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=Gmq5Z+7OXhoDZJElZfP1qkabagScz/OvTk0fdZJ2l7Y=; b=S+0lxfCE64hjtcSitJ+3OmUdynVfQycYy088GShNI+MG2PvQwgktIHdJ 6F7GsHp8naswCItcCQ/NlYXi1x9a58brP8/T7u9d0phyM4c+ZaxGYXlJR 2J+/YhQeSyxNyARWGz99V/2oLH5ArPNpsBeBTxudiCn4C+WTStH2bsx35 +DIYuPCJPaUnl8Zf3Yx/ajkth5VDOIQw+1aQHEegSVhVVDu1g6VtqGRpW ZYkdMNsZzfW43IoQSoq8LcLIqcZVxw3KKTbuo3m8yMfiIrAVt3bY97bnI w0M+dvk0o9AzJIpcL1cJ3ne1i4GLNWNM28wj0oOi9kAvSfgOGLA370iwh Q==; X-CSE-ConnectionGUID: KZvR+fy0QMOtByeaRQqjUA== X-CSE-MsgGUID: uvLaJ/SORXurPhBfG4o/kw== X-IronPort-AV: E=McAfee;i="6700,10204,11411"; a="58357942" X-IronPort-AV: E=Sophos;i="6.15,233,1739865600"; d="scan'208";a="58357942" Received: from fmviesa010.fm.intel.com ([10.60.135.150]) by fmvoesa104.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 23 Apr 2025 02:46:48 -0700 X-CSE-ConnectionGUID: hTV0WYpxRNm6D/PnUmlXHA== X-CSE-MsgGUID: sZqtvGUwRumPxrWPBVf8jA== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.15,233,1739865600"; d="scan'208";a="132811114" Received: from srr4-3-linux-101-amanna.iind.intel.com ([10.223.74.76]) by fmviesa010.fm.intel.com with ESMTP; 23 Apr 2025 02:46:47 -0700 From: Animesh Manna To: intel-gfx@lists.freedesktop.org, intel-xe@lists.freedesktop.org Cc: jouni.hogander@intel.com, jani.nikula@intel.com, jeevan.b@intel.com, Animesh Manna Subject: [PATCH v10 03/11] drm/i915/lobf: Add debug print for LOBF Date: Wed, 23 Apr 2025 14:53:26 +0530 Message-Id: <20250423092334.2294483-4-animesh.manna@intel.com> X-Mailer: git-send-email 2.29.0 In-Reply-To: <20250423092334.2294483-1-animesh.manna@intel.com> References: <20250423092334.2294483-1-animesh.manna@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: intel-xe@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Intel Xe graphics driver List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: intel-xe-bounces@lists.freedesktop.org Sender: "Intel-xe" Lobf is enabled part of ALPM configuration and if has_lobf is set to true respective bit for LOBF will be set. Add debug print while setting the bitfield of LOBF. Signed-off-by: Animesh Manna Reviewed-by: Jouni Högander --- drivers/gpu/drm/i915/display/intel_alpm.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/drivers/gpu/drm/i915/display/intel_alpm.c b/drivers/gpu/drm/i915/display/intel_alpm.c index 41f8b05cc11c..9227bb0b0c55 100644 --- a/drivers/gpu/drm/i915/display/intel_alpm.c +++ b/drivers/gpu/drm/i915/display/intel_alpm.c @@ -5,6 +5,8 @@ #include +#include + #include "intel_alpm.h" #include "intel_crtc.h" #include "intel_de.h" @@ -353,8 +355,10 @@ static void lnl_alpm_configure(struct intel_dp *intel_dp, ALPM_CTL_EXTENDED_FAST_WAKE_TIME(intel_dp->alpm_parameters.fast_wake_lines); } - if (crtc_state->has_lobf) + if (crtc_state->has_lobf) { alpm_ctl |= ALPM_CTL_LOBF_ENABLE; + drm_dbg_kms(display->drm, "Link off between frames (LOBF) enabled\n"); + } alpm_ctl |= ALPM_CTL_ALPM_ENTRY_CHECK(intel_dp->alpm_parameters.check_entry_lines); -- 2.29.0