From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.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 260A328FFEE for ; Thu, 10 Apr 2025 19:44:18 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=198.175.65.9 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1744314260; cv=none; b=Nhqg5YRlgOzY0qFz8XEn+NjZ2AgatTGxx0wdaJm5TP9Uy6U2ohSovGBw7rdvzTR/g+F07uYgE2ARskQIIiHX7teqKuXpDzFCllvHhSC+uEZy7c0ZyRSDbPrJ8COpWGLVHFW0/dyDw1+WabIUMTOm0IvHxl7izefglBNx1EO/ZLU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1744314260; c=relaxed/simple; bh=bm3/8PF4xnmSSQgO/SPKCn9ZQH9WFMWfGuG8LCM47eI=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=Kfz7aB04HnZE0RQo+G7Qnrc9gHo/4cifseWtXPmizeRwU06TOzkUdd61G3L+FzNfKYZplw87wN+vCxLQlnzu+Wm8EekOE7j6A0zwLMZn9+t/lZH2Bp1jn6XIn496iJQohV1DifDKzS9bLcoMuwkIltIwlEFLG+4lydNkqbAns4Q= 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=km2+W3BR; arc=none smtp.client-ip=198.175.65.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="km2+W3BR" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1744314259; x=1775850259; h=date:from:to:cc:subject:message-id:references: mime-version:content-transfer-encoding:in-reply-to; bh=bm3/8PF4xnmSSQgO/SPKCn9ZQH9WFMWfGuG8LCM47eI=; b=km2+W3BRfj7eb6W/dOhhdnPUwZ/qV5tmNi2EXUrwNACrAn8WBJ7W8aCt aBZlFuvufQQxurIeooGWLZdbJ3vwSs1kDUksMbx/jDF2k1OfxW9bnxSMQ 9L4Z85S0kC0DXttjTus8iEbG/FNC93U1yqhkiKInHBHYyBA6DSuMnQywV yqYHEfgqqkLM+Ro7FLTO1mAgQQ/Wd8xih1ldNdR/sIAKDIJUSeXd6afY/ g5uURzrI/d2dDgVsyxqrV23W7Mi4S+y2I9pHOkuhOZIxQQtnh1qTlOQMg nnP5vK+Xz4kkLNkaVdcndCnAHgvIRMoiGlOOLl159MghBabO00a44PvF8 Q==; X-CSE-ConnectionGUID: Dc3MmBFPST2+TY/TvuGC7Q== X-CSE-MsgGUID: 2EgR7k+hRnaVmxJrTa3hKA== X-IronPort-AV: E=McAfee;i="6700,10204,11400"; a="68341409" X-IronPort-AV: E=Sophos;i="6.15,203,1739865600"; d="scan'208";a="68341409" Received: from orviesa008.jf.intel.com ([10.64.159.148]) by orvoesa101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 10 Apr 2025 12:44:19 -0700 X-CSE-ConnectionGUID: ZJEymzmWQ+eyCd/EYrTOwQ== X-CSE-MsgGUID: G9cjUPyTRoyBY9bje9kCOw== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.15,203,1739865600"; d="scan'208";a="129960821" Received: from lkp-server01.sh.intel.com (HELO b207828170a5) ([10.239.97.150]) by orviesa008.jf.intel.com with ESMTP; 10 Apr 2025 12:44:11 -0700 Received: from kbuild by b207828170a5 with local (Exim 4.96) (envelope-from ) id 1u2xon-000ATj-0b; Thu, 10 Apr 2025 19:44:09 +0000 Date: Fri, 11 Apr 2025 03:43:29 +0800 From: kernel test robot To: Ville Syrjala , dri-devel@lists.freedesktop.org Cc: llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev, intel-gfx@lists.freedesktop.org, intel-xe@lists.freedesktop.org, Liviu Dudau , Russell King , Inki Dae , Seung-Woo Kim , Kyungmin Park , Patrik Jakobsson , Chun-Kuang Hu , Philipp Zabel , Rob Clark , Abhinav Kumar , Dmitry Baryshkov , Sean Paul , Marijn Suijten , Marek Vasut , Stefan Agner , Lyude Paul , Danilo Krummrich , Tomi Valkeinen , Alex Deucher , Sandy Huang , Heiko =?iso-8859-1?Q?St=FCbner?= , Andy Yan , Thierry Reding , Mikko Perttunen , linux-arm-msm@vger.kernel.org, freedreno@lists.freedesktop.org, nouveau@lists.freedesktop.org Subject: Re: [PATCH 02/19] drm: Pass pixel_format+modifier directly to drm_get_format_info() Message-ID: <202504110343.FEc4bNDr-lkp@intel.com> References: <20250410163218.15130-3-ville.syrjala@linux.intel.com> Precedence: bulk X-Mailing-List: linux-arm-msm@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20250410163218.15130-3-ville.syrjala@linux.intel.com> Hi Ville, kernel test robot noticed the following build warnings: [auto build test WARNING on linus/master] [also build test WARNING on v6.15-rc1 next-20250410] [cannot apply to drm-exynos/exynos-drm-next tegra/for-next rmk-arm/drm-armada-devel rmk-arm/drm-armada-fixes] [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/Ville-Syrjala/drm-Pass-pixel_format-modifier-to-get_format_info/20250411-005845 base: linus/master patch link: https://lore.kernel.org/r/20250410163218.15130-3-ville.syrjala%40linux.intel.com patch subject: [PATCH 02/19] drm: Pass pixel_format+modifier directly to drm_get_format_info() config: hexagon-randconfig-001-20250411 (https://download.01.org/0day-ci/archive/20250411/202504110343.FEc4bNDr-lkp@intel.com/config) compiler: clang version 21.0.0git (https://github.com/llvm/llvm-project f819f46284f2a79790038e1f6649172789734ae8) reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250411/202504110343.FEc4bNDr-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/202504110343.FEc4bNDr-lkp@intel.com/ All warnings (new ones prefixed by >>): >> drivers/gpu/drm/drm_fourcc.c:394: warning: Function parameter or struct member 'pixel_format' not described in 'drm_get_format_info' >> drivers/gpu/drm/drm_fourcc.c:394: warning: Function parameter or struct member 'modifier' not described in 'drm_get_format_info' >> drivers/gpu/drm/drm_fourcc.c:394: warning: Excess function parameter 'mode_cmd' description in 'drm_get_format_info' vim +394 drivers/gpu/drm/drm_fourcc.c 84770cc24f3a51 Laurent Pinchart 2016-10-18 381 6a0f9ebfc5e753 Ville Syrjälä 2017-03-21 382 /** 6a0f9ebfc5e753 Ville Syrjälä 2017-03-21 383 * drm_get_format_info - query information for a given framebuffer configuration 6a0f9ebfc5e753 Ville Syrjälä 2017-03-21 384 * @dev: DRM device 6a0f9ebfc5e753 Ville Syrjälä 2017-03-21 385 * @mode_cmd: metadata from the userspace fb creation request 6a0f9ebfc5e753 Ville Syrjälä 2017-03-21 386 * 6a0f9ebfc5e753 Ville Syrjälä 2017-03-21 387 * Returns: 6a0f9ebfc5e753 Ville Syrjälä 2017-03-21 388 * The instance of struct drm_format_info that describes the pixel format, or 6a0f9ebfc5e753 Ville Syrjälä 2017-03-21 389 * NULL if the format is unsupported. 6a0f9ebfc5e753 Ville Syrjälä 2017-03-21 390 */ 6a0f9ebfc5e753 Ville Syrjälä 2017-03-21 391 const struct drm_format_info * 6a0f9ebfc5e753 Ville Syrjälä 2017-03-21 392 drm_get_format_info(struct drm_device *dev, 9a77ad08811ab1 Ville Syrjälä 2025-04-10 393 u32 pixel_format, u64 modifier) 6a0f9ebfc5e753 Ville Syrjälä 2017-03-21 @394 { 6a0f9ebfc5e753 Ville Syrjälä 2017-03-21 395 const struct drm_format_info *info = NULL; 6a0f9ebfc5e753 Ville Syrjälä 2017-03-21 396 6a0f9ebfc5e753 Ville Syrjälä 2017-03-21 397 if (dev->mode_config.funcs->get_format_info) 9a77ad08811ab1 Ville Syrjälä 2025-04-10 398 info = dev->mode_config.funcs->get_format_info(pixel_format, 9a77ad08811ab1 Ville Syrjälä 2025-04-10 399 modifier); 6a0f9ebfc5e753 Ville Syrjälä 2017-03-21 400 6a0f9ebfc5e753 Ville Syrjälä 2017-03-21 401 if (!info) 9a77ad08811ab1 Ville Syrjälä 2025-04-10 402 info = drm_format_info(pixel_format); 6a0f9ebfc5e753 Ville Syrjälä 2017-03-21 403 6a0f9ebfc5e753 Ville Syrjälä 2017-03-21 404 return info; 6a0f9ebfc5e753 Ville Syrjälä 2017-03-21 405 } 6a0f9ebfc5e753 Ville Syrjälä 2017-03-21 406 EXPORT_SYMBOL(drm_get_format_info); 6a0f9ebfc5e753 Ville Syrjälä 2017-03-21 407 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki