Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.10]) (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 F35D1179A7; Wed, 21 Aug 2024 04:53:09 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=198.175.65.10 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1724215992; cv=none; b=oOlF6J7n6f75v51SuSnUgbIOQIJOIKvS4wFtRROGKHG38Y+ZESbUiybS2j9rCpRp2GUVIQdSHSkehKIuWAoM+5ZvusC8nz/eH0RpyJ1u9j6+Uu4ZcilXXidyyf0gR2nmvKbv5KeQVgkvhx3HGoWqD5+hrFZpguaFzJVVuH4ye3g= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1724215992; c=relaxed/simple; bh=e9cRXMHPwsjc4eS2oAVv7CuGsm4fG7al7v4a8+Qf4YQ=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=kln4BTJwemO5bRTDAGBT3bhSsZNK3hpvLtQGt5EpC8sUm3etgHwE2pcZxO6qVC7p/sw4ktWrNczfda9bi6ckLaY/UX+YyJLRyDkP1alm+K4nGJcY4zcVx5SmlmEgcpD5MV7dvG5lTJQ1pV+if91GZVuy62pYbt4xbzYJ3VhsQf0= 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=SmNqmY9G; arc=none smtp.client-ip=198.175.65.10 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="SmNqmY9G" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1724215989; x=1755751989; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=e9cRXMHPwsjc4eS2oAVv7CuGsm4fG7al7v4a8+Qf4YQ=; b=SmNqmY9Gy8c7YGcGlPTslGsJYY0htYYsUDLPgrbyGiRLocZgmefqJ6Yu 9UtWSHzFEQGVXe+cwdZw2z2VBoUT+WRFTrA0PDqE71QB9Pst6T/fgVsum spMLKbE39HI/c8s7L8nnTB4lEbdETv6O3OofN7XO1gikmwzG3DzSifBfm a9IcV3gkcTfRGLPXQnZbhEOOoHgZKT65Y/K8+dRaYFMccX4oRAk+IHOPb eSwwOUcuB4KSF6YOlmFprxf/qkR5H3XUhcbjLwhx83D/c8JUx4grDnIC8 n92QJ+6Xi/tPVE5zgb36wYB4if/n7rTSx3W5LJOo2coVonAVxGKySivob Q==; X-CSE-ConnectionGUID: pGGwxsvOQ3e8bvptXlFkPQ== X-CSE-MsgGUID: 80QwgFKsTmG+PLo3pizm/g== X-IronPort-AV: E=McAfee;i="6700,10204,11170"; a="40011068" X-IronPort-AV: E=Sophos;i="6.10,163,1719903600"; d="scan'208";a="40011068" Received: from orviesa005.jf.intel.com ([10.64.159.145]) by orvoesa102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 20 Aug 2024 21:53:08 -0700 X-CSE-ConnectionGUID: Qg/IaytxTMqaEHocC/oEOA== X-CSE-MsgGUID: 5DNhF1n/SRaUggpClAtcTQ== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.10,163,1719903600"; d="scan'208";a="65846597" Received: from lkp-server01.sh.intel.com (HELO 9a732dc145d3) ([10.239.97.150]) by orviesa005.jf.intel.com with ESMTP; 20 Aug 2024 21:53:08 -0700 Received: from kbuild by 9a732dc145d3 with local (Exim 4.96) (envelope-from ) id 1sgdLF-000Aug-0Z; Wed, 21 Aug 2024 04:53:05 +0000 Date: Wed, 21 Aug 2024 12:52:11 +0800 From: kernel test robot To: Harry Wentland , dri-devel@lists.freedesktop.org, amd-gfx@lists.freedesktop.org Cc: llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev, wayland-devel@lists.freedesktop.org, Alex Hung , Harry Wentland Subject: Re: [PATCH v5 28/44] drm/amd/display: Add support for sRGB Inverse EOTF in SHAPER block Message-ID: <202408211241.xAvubshv-lkp@intel.com> References: <20240819205714.316380-29-harry.wentland@amd.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: <20240819205714.316380-29-harry.wentland@amd.com> Hi Harry, kernel test robot noticed the following build warnings: [auto build test WARNING on drm/drm-next] [also build test WARNING on drm-exynos/exynos-drm-next drm-intel/for-linux-next drm-intel/for-linux-next-fixes drm-misc/drm-misc-next drm-tip/drm-tip linus/master v6.11-rc4 next-20240820] [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/Harry-Wentland/drm-Add-helper-for-conversion-from-signed-magnitude/20240820-050138 base: git://anongit.freedesktop.org/drm/drm drm-next patch link: https://lore.kernel.org/r/20240819205714.316380-29-harry.wentland%40amd.com patch subject: [PATCH v5 28/44] drm/amd/display: Add support for sRGB Inverse EOTF in SHAPER block config: x86_64-randconfig-003-20240821 (https://download.01.org/0day-ci/archive/20240821/202408211241.xAvubshv-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/20240821/202408211241.xAvubshv-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/202408211241.xAvubshv-lkp@intel.com/ All warnings (new ones prefixed by >>): >> drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm_color.c:1232:42: warning: variable 'shaper_size' is uninitialized when used here [-Wuninitialized] 1232 | return __set_output_tf(tf, shaper_lut, shaper_size, false); | ^~~~~~~~~~~ drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm_color.c:1214:22: note: initialize the variable 'shaper_size' to silence this warning 1214 | uint32_t shaper_size; | ^ | = 0 1 warning generated. vim +/shaper_size +1232 drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm_color.c 1205 1206 static int 1207 __set_colorop_in_shaper_1d_curve(struct dc_plane_state *dc_plane_state, 1208 struct drm_colorop_state *colorop_state) 1209 { 1210 struct dc_transfer_func *tf = &dc_plane_state->in_shaper_func; 1211 struct drm_colorop *colorop = colorop_state->colorop; 1212 struct drm_device *drm = colorop->dev; 1213 const struct drm_color_lut *shaper_lut; 1214 uint32_t shaper_size; 1215 1216 if (colorop->type != DRM_COLOROP_1D_CURVE && 1217 colorop_state->curve_1d_type != DRM_COLOROP_1D_CURVE_SRGB_INV_EOTF) 1218 return -EINVAL; 1219 1220 if (colorop_state->bypass) { 1221 tf->type = TF_TYPE_BYPASS; 1222 tf->tf = TRANSFER_FUNCTION_LINEAR; 1223 return 0; 1224 } 1225 1226 drm_dbg(drm, "Shaper colorop with ID: %d\n", colorop->base.id); 1227 1228 if (colorop->type == DRM_COLOROP_1D_CURVE) { 1229 tf->type = TF_TYPE_DISTRIBUTED_POINTS; 1230 tf->tf = amdgpu_colorop_tf_to_dc_tf(colorop_state->curve_1d_type); 1231 tf->sdr_ref_white_level = SDR_WHITE_LEVEL_INIT_VALUE; > 1232 return __set_output_tf(tf, shaper_lut, shaper_size, false); 1233 } 1234 1235 return -EINVAL; 1236 } 1237 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki