From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.9]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 7E2E81F1932; Wed, 22 Apr 2026 02:04:11 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=192.198.163.9 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1776823452; cv=none; b=V1kB9INKURgg7MdHc+d+zYbIynB6Oz9F5hhr/ja1YGV6SpGOGvd9B0y2aohPaP0R0IKgqKTuyjgJxwm6Vxoid+w/0S32sBgTES9sfxzZkZ9CBocVdX4mk8PGfVUHlWN7U1FClvUxw2mwh7C61OJB2YXbvRLHX7o5iS5g+X7NV/w= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1776823452; c=relaxed/simple; bh=owbnoBgN9t3MgD+RSb6tSpj4KLDuzRv1rAll+x/jScY=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=WWoXym1qzeJRTrrbkEJD+p30H8ychyKeA5y4DrtRoXVQnvSWLcPO/FJGf7orJk1Y0D5k7D3lkgVMC+xki71uepl6KOND0S2QScMVIfAkHgIzYPWGkql8QS3ty1D61rfwU99nnT+rhp+b0jCRrocz0QX/qCjAMf2E6iD8J3M47pg= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=intel.com; spf=pass smtp.mailfrom=intel.com; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b=EVPCIVSo; arc=none smtp.client-ip=192.198.163.9 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=intel.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=intel.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="EVPCIVSo" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1776823451; x=1808359451; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=owbnoBgN9t3MgD+RSb6tSpj4KLDuzRv1rAll+x/jScY=; b=EVPCIVSo8WSSmymP5XOHRh2oWs5MugEEtcSdl0ggXpmwrhoxqS1cr+No f+HT1Hj+WAoAyWYazb//Xrv6IK4M2EJ9b/7ErQgs6TMtAbuy81WOLi4Nb UpPMUDOPmPLVgRSUSWThyw41W3Es3He2ybnKCWjsBP4WsLPgjXmYVFPKr d8/ISVxKXfjsp4ntu5IH3ljf9pi3SxUV/fG9WGrxhGMTWHctGK3CkRk/1 LIxmdv8R2B7j0ZcIXZaKPKvBQ73pv3fdq5PwUg7FmB6A91VQkKsTjKdgc xXs0as5A50ObV9quTdnaU+e36LKNe6z2c/gE0AY9Rn0bf+tQxlQittXHN w==; X-CSE-ConnectionGUID: jjZQh3fSQy+n3iLozf+KfQ== X-CSE-MsgGUID: N/tMBM/NR+q+Y9XTYe7XjA== X-IronPort-AV: E=McAfee;i="6800,10657,11763"; a="88468952" X-IronPort-AV: E=Sophos;i="6.23,192,1770624000"; d="scan'208";a="88468952" Received: from orviesa001.jf.intel.com ([10.64.159.141]) by fmvoesa103.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 21 Apr 2026 19:04:11 -0700 X-CSE-ConnectionGUID: JUEBHMB4SKOBR0KZMpVikA== X-CSE-MsgGUID: 35PpWF/yRXWPrs1BFDOQkg== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.23,192,1770624000"; d="scan'208";a="270304429" Received: from lkp-server01.sh.intel.com (HELO 7e48d0ff8e22) ([10.239.97.150]) by orviesa001.jf.intel.com with ESMTP; 21 Apr 2026 19:04:09 -0700 Received: from kbuild by 7e48d0ff8e22 with local (Exim 4.98.2) (envelope-from ) id 1wFMwg-000000004BY-1F5n; Wed, 22 Apr 2026 02:04:06 +0000 Date: Wed, 22 Apr 2026 10:03:31 +0800 From: kernel test robot To: Suraj Kandpal , intel-xe@lists.freedesktop.org, intel-gfx@lists.freedesktop.org, intel-gfx-trybot@lists.freedesktop.org Cc: llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev, ankit.k.nautiyal@intel.com, swati2.sharma@intel.com, Suraj Kandpal Subject: Re: [PATCH] drm/i915/dp: Ignore HPD when in DPLL enable/disable cycle Message-ID: <202604220938.18Kkm7Pt-lkp@intel.com> References: <20260417080118.2352283-1-suraj.kandpal@intel.com> Precedence: bulk X-Mailing-List: llvm@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20260417080118.2352283-1-suraj.kandpal@intel.com> Hi Suraj, kernel test robot noticed the following build errors: [auto build test ERROR on drm-i915/for-linux-next] [also build test ERROR on drm-i915/for-linux-next-fixes drm-tip/drm-tip linus/master v7.0 next-20260421] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest to use '--base' as documented in https://git-scm.com/docs/git-format-patch#_base_tree_information] url: https://github.com/intel-lab-lkp/linux/commits/Suraj-Kandpal/drm-i915-dp-Ignore-HPD-when-in-DPLL-enable-disable-cycle/20260422-031647 base: https://gitlab.freedesktop.org/drm/i915/kernel.git for-linux-next patch link: https://lore.kernel.org/r/20260417080118.2352283-1-suraj.kandpal%40intel.com patch subject: [PATCH] drm/i915/dp: Ignore HPD when in DPLL enable/disable cycle config: x86_64-rhel-9.4-rust (https://download.01.org/0day-ci/archive/20260422/202604220938.18Kkm7Pt-lkp@intel.com/config) compiler: clang version 20.1.8 (https://github.com/llvm/llvm-project 87f0227cb60147a26a1eeb4fb06e3b505e9c7261) rustc: rustc 1.88.0 (6b00bc388 2025-06-23) reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260422/202604220938.18Kkm7Pt-lkp@intel.com/reproduce) If you fix the issue in a separate patch/commit (i.e. not just a new version of the same patch/commit), kindly add following tags | Reported-by: kernel test robot | Closes: https://lore.kernel.org/oe-kbuild-all/202604220938.18Kkm7Pt-lkp@intel.com/ All errors (new ones prefixed by >>): >> drivers/gpu/drm/i915/display/intel_dp.c:6834:62: error: too few arguments provided to function-like macro invocation 6834 | drm_dbg_kms("Ignoring HPD since DPLL is getting disabled\n"); | ^ include/drm/drm_print.h:652:9: note: macro 'drm_dbg_kms' defined here 652 | #define drm_dbg_kms(drm, fmt, ...) \ | ^ >> drivers/gpu/drm/i915/display/intel_dp.c:6834:3: error: use of undeclared identifier 'drm_dbg_kms' 6834 | drm_dbg_kms("Ignoring HPD since DPLL is getting disabled\n"); | ^ 2 errors generated. vim +6834 drivers/gpu/drm/i915/display/intel_dp.c 6825 6826 enum irqreturn 6827 intel_dp_hpd_pulse(struct intel_digital_port *dig_port, bool long_hpd) 6828 { 6829 struct intel_display *display = to_intel_display(dig_port); 6830 struct intel_dp *intel_dp = &dig_port->dp; 6831 u8 dpcd[DP_RECEIVER_CAP_SIZE]; 6832 6833 if (atomic_read(&dig_port->link_teardown)) { > 6834 drm_dbg_kms("Ignoring HPD since DPLL is getting disabled\n"); 6835 return IRQ_NONE; 6836 } 6837 6838 if (dig_port->base.type == INTEL_OUTPUT_EDP && 6839 (long_hpd || 6840 intel_display_rpm_suspended(display) || 6841 !intel_pps_have_panel_power_or_vdd(intel_dp))) { 6842 /* 6843 * vdd off can generate a long/short pulse on eDP which 6844 * would require vdd on to handle it, and thus we 6845 * would end up in an endless cycle of 6846 * "vdd off -> long/short hpd -> vdd on -> detect -> vdd off -> ..." 6847 */ 6848 drm_dbg_kms(display->drm, 6849 "ignoring %s hpd on eDP [ENCODER:%d:%s]\n", 6850 long_hpd ? "long" : "short", 6851 dig_port->base.base.base.id, 6852 dig_port->base.base.name); 6853 return IRQ_HANDLED; 6854 } 6855 6856 drm_dbg_kms(display->drm, "got hpd irq on [ENCODER:%d:%s] - %s\n", 6857 dig_port->base.base.base.id, 6858 dig_port->base.base.name, 6859 long_hpd ? "long" : "short"); 6860 6861 /* 6862 * TBT DP tunnels require the GFX driver to read out the DPRX caps in 6863 * response to long HPD pulses. The DP hotplug handler does that, 6864 * however the hotplug handler may be blocked by another 6865 * connector's/encoder's hotplug handler. Since the TBT CM may not 6866 * complete the DP tunnel BW request for the latter connector/encoder 6867 * waiting for this encoder's DPRX read, perform a dummy read here. 6868 */ 6869 if (long_hpd) { 6870 intel_dp_dpcd_set_probe(intel_dp, true); 6871 6872 intel_dp_read_dprx_caps(intel_dp, dpcd); 6873 6874 intel_dp->reset_link_params = true; 6875 intel_dp_invalidate_source_oui(intel_dp); 6876 6877 return IRQ_NONE; 6878 } 6879 6880 if (intel_dp->is_mst) { 6881 if (!intel_dp_check_mst_status(intel_dp)) 6882 return IRQ_NONE; 6883 } else if (!intel_dp_short_pulse(intel_dp)) { 6884 return IRQ_NONE; 6885 } 6886 6887 return IRQ_HANDLED; 6888 } 6889 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki