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 2ECF0C54FC6 for ; Tue, 3 Sep 2024 03:15:41 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 7AA4F10E13D; Tue, 3 Sep 2024 03:15:41 +0000 (UTC) Authentication-Results: gabe.freedesktop.org; dkim=pass (2048-bit key; unprotected) header.d=intel.com header.i=@intel.com header.b="Mk08CFVA"; dkim-atps=neutral Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.15]) by gabe.freedesktop.org (Postfix) with ESMTPS id E677910E13D for ; Tue, 3 Sep 2024 03:15:39 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1725333340; x=1756869340; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=ARVgzjc77gwC4k0HXCvC8mOKt71sAJB8KzGegu4qRJk=; b=Mk08CFVAdq7PFNZS93q36v0DFHV4Di4gkQfa5uoPOX6yPU1l7rl3ztVc uB3Xy0BvNfEnGNUP1SNGtECax9kPuw73aIog3qR989m4Jhe8hcFBbFEpI aaR/P1+P4syDmsh2onUeBVMrqvVgFPKgatYxCkrNPkBJJLnpAn1Fw1EDi wM1etzBv1PvbGqwxTlu+3k5K4scmpwiCFiJCGlGoewD02Zbz8qL7krFUo XLiepfuw8aWckQExA+CR+H3DRXXcAdVEncCmCsVq0yqkckwzOIvufChDp mALWvb+9BZFBqkp3UYqVKhNuzBAHnE2Xwr4oMEPFg23wEbqDSkSqWkmuH w==; X-CSE-ConnectionGUID: jfP/rWzcS3aWLk6hsQzOYw== X-CSE-MsgGUID: YdaKZnayQM+/sIsXsCRwew== X-IronPort-AV: E=McAfee;i="6700,10204,11183"; a="27664108" X-IronPort-AV: E=Sophos;i="6.10,197,1719903600"; d="scan'208";a="27664108" Received: from fmviesa009.fm.intel.com ([10.60.135.149]) by orvoesa107.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 02 Sep 2024 20:15:38 -0700 X-CSE-ConnectionGUID: TAo27OybTx2qFDf1mBgO9A== X-CSE-MsgGUID: vTjRbZ1jTACniPdDgXUDTw== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.10,197,1719903600"; d="scan'208";a="64797274" Received: from lkp-server01.sh.intel.com (HELO 9c6b1c7d3b50) ([10.239.97.150]) by fmviesa009.fm.intel.com with ESMTP; 02 Sep 2024 20:15:34 -0700 Received: from kbuild by 9c6b1c7d3b50 with local (Exim 4.96) (envelope-from ) id 1slK0x-000694-34; Tue, 03 Sep 2024 03:15:31 +0000 Date: Tue, 3 Sep 2024 11:15:02 +0800 From: kernel test robot To: Ankit Nautiyal , intel-gfx@lists.freedesktop.org Cc: llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev, jani.nikula@linux.intel.com, ville.syrjala@linux.intel.com, mitulkumar.ajitkumar.golani@intel.com Subject: Re: [PATCH 04/13] drm/i915/display: Enable MSA Ignore Timing PAR only when in not fixed_rr mode Message-ID: <202409031027.GftRdwjU-lkp@intel.com> References: <20240902080635.2946858-5-ankit.k.nautiyal@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20240902080635.2946858-5-ankit.k.nautiyal@intel.com> 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" Hi Ankit, kernel test robot noticed the following build warnings: [auto build test WARNING on drm-intel/for-linux-next] [also build test WARNING on drm-tip/drm-tip next-20240902] [cannot apply to drm-intel/for-linux-next-fixes linus/master v6.11-rc6] [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/Ankit-Nautiyal/drm-i915-dp-Avoid-vrr-compute-config-for-HDMI-sink/20240902-205135 base: git://anongit.freedesktop.org/drm-intel for-linux-next patch link: https://lore.kernel.org/r/20240902080635.2946858-5-ankit.k.nautiyal%40intel.com patch subject: [PATCH 04/13] drm/i915/display: Enable MSA Ignore Timing PAR only when in not fixed_rr mode config: x86_64-rhel-8.3-rust (https://download.01.org/0day-ci/archive/20240903/202409031027.GftRdwjU-lkp@intel.com/config) compiler: clang version 18.1.5 (https://github.com/llvm/llvm-project 617a15a9eac96088ae5e9134248d8236e34b91b1) reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240903/202409031027.GftRdwjU-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/202409031027.GftRdwjU-lkp@intel.com/ All warnings (new ones prefixed by >>): >> drivers/gpu/drm/i915/display/intel_dp_link_training.c:724:6: warning: variable 'enable_msa_timing_par_ignore' is used uninitialized whenever 'if' condition is false [-Wsometimes-uninitialized] 724 | if (crtc_state->vrr.enable && !crtc_state->vrr.fixed_rr) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ drivers/gpu/drm/i915/display/intel_dp_link_training.c:728:30: note: uninitialized use occurs here 728 | crtc_state->port_clock, enable_msa_timing_par_ignore); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ drivers/gpu/drm/i915/display/intel_dp_link_training.c:724:2: note: remove the 'if' if its condition is always true 724 | if (crtc_state->vrr.enable && !crtc_state->vrr.fixed_rr) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 725 | enable_msa_timing_par_ignore = true; >> drivers/gpu/drm/i915/display/intel_dp_link_training.c:724:6: warning: variable 'enable_msa_timing_par_ignore' is used uninitialized whenever '&&' condition is false [-Wsometimes-uninitialized] 724 | if (crtc_state->vrr.enable && !crtc_state->vrr.fixed_rr) | ^~~~~~~~~~~~~~~~~~~~~~ drivers/gpu/drm/i915/display/intel_dp_link_training.c:728:30: note: uninitialized use occurs here 728 | crtc_state->port_clock, enable_msa_timing_par_ignore); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ drivers/gpu/drm/i915/display/intel_dp_link_training.c:724:6: note: remove the '&&' if its condition is always true 724 | if (crtc_state->vrr.enable && !crtc_state->vrr.fixed_rr) | ^~~~~~~~~~~~~~~~~~~~~~~~~ drivers/gpu/drm/i915/display/intel_dp_link_training.c:721:35: note: initialize the variable 'enable_msa_timing_par_ignore' to silence this warning 721 | bool enable_msa_timing_par_ignore; | ^ | = 0 2 warnings generated. vim +724 drivers/gpu/drm/i915/display/intel_dp_link_training.c 717 718 static void intel_dp_update_downspread_ctrl(struct intel_dp *intel_dp, 719 const struct intel_crtc_state *crtc_state) 720 { 721 bool enable_msa_timing_par_ignore; 722 723 /* Enable MSA TIMING PAR IGNORE only in non fixed_rr mode */ > 724 if (crtc_state->vrr.enable && !crtc_state->vrr.fixed_rr) 725 enable_msa_timing_par_ignore = true; 726 727 intel_dp_link_training_set_mode(intel_dp, 728 crtc_state->port_clock, enable_msa_timing_par_ignore); 729 } 730 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki