From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=198.175.65.15 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796464564; b=z/b92H/mhHO0DlJIzjNG7JUG+Wr3r63j7pJKucjI1vnEuh6W0Gn71aSJwaIqjQA9hLF+ OpKGW8RoqqlQ7ddtE+sETCuRTWc3oDosbunfMdju8g39BwyrIv6CsONz0Ph99JSMXNynr UKYJ0fyivINo3IjRTJRv9ZKTQWDuC8P4VuE8Ji1NxykC/0uJ4ZkBXZLW3SK1ORxDoJVyr x+yXBc6UIwVpdDbz7ShOdOJEIUlgVq7/NEkPJbWT4s77jcKmwglHTaZ5k17ABh+TWXgnu wZiR1+qZA73AL4GHApmegi9nVhHx7NgJw3g71Pi8VLEo1+JLPLGd3QD1Ko9zWyOcVGA== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796464564; h=DMARC-Filter:DKIM-Signature:X-CSE-ConnectionGUID:X-CSE-MsgGUID: X-IronPort-AV:X-IronPort-AV:Received:X-CSE-ConnectionGUID: X-CSE-MsgGUID:X-ExtLoop1:X-IronPort-AV:Received:Received:Date:From:To: Cc:Subject:Message-ID:References:MIME-Version:Content-Type: Content-Disposition:In-Reply-To; bh=d/FV06SPrgXjLtlsDpdp7gyN4V4D2PMxix914bJES/k=; b=Mq5qqX5LBgu8XXQ+H+Qn042gdKKiTlUg8w6+ta/k4uHjFPbxDC20R8WpXuCGeXEg/iYg YXVyxv7w0DV+8dPKGSUbQGF2RhsucszMqqoTASBwVmVtUykqC+JpoEk7gBB7Hhq2CYkQq m995uWBX5wV4pGCvmpynyV9Qm4IYWCw403vToH2bUkFwbM0/2mLDqAkVH3fZM2GZob7xq N/HvHNoe+fKw8t2xnD5mawcIRGsKb42ndUpfm0jyQpySu1P43c+Rj8F72CM0AB8pMuZ+A 7Sjff3naGBHjMFu6aM2b7SOv56LuDG7vnRM7k/P+7HKSmy8P9fNCp/vLMseGzoargHA== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass header.from=intel.com; spf=pass smtp.mailfrom=intel.com; dkim=pass header.d=intel.com header.i=@intel.com header.a=rsa-sha256 header.s=Intel header.b=b+rbtDGZ; arc=none smtp.remote-ip=198.175.65.15 Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.15]) (using TLSv1.2 with cipher ECDHE-ECDSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 59E1A606A6B4 for ; Sat, 5 Dec 2026 09:56:04 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 59E1A606A6B4 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.a=rsa-sha256 header.s=Intel header.b=b+rbtDGZ DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1796464565; x=1828000565; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=d/FV06SPrgXjLtlsDpdp7gyN4V4D2PMxix914bJES/k=; b=b+rbtDGZiGY/xtQBJX8xPUT28EuoRezB6ZuP8+lI16jyaFsk+JlH8i1l wgia5evecmaHy2TJd6dZeC7Ank7rLYkdVSwDGR9J3K1VDN8i1ecUkCyMS 0mnLz5EeXUKtOElmKB6V8eX1NIQkdiXMPwRRE+8jk5AqoyBXcSwCH2ZgO FjyfXiiRrFDIh/mDs6mhZiASbdqiqjcJ/C7gvZ3zXF5PMQHo57hjhzhTJ kLP6pCztN7Ra+eqdw+4ImZ+k6jTZv3omO33FVoqDMpFyukge5lyqV+46q wBgPR2UelFDvtcOzeJXqnIiczNDM6RztQfIsvgO3GsbwQfbBDm8QliyD+ Q==; X-CSE-ConnectionGUID: 4a4viO7LRSyy2yhFgHmD5A== X-CSE-MsgGUID: egh45TINS0CHiYixkENx7g== X-IronPort-AV: E=McAfee;i="6800,10657,11986"; a="5442127" X-IronPort-AV: E=Sophos;i="6.29,80,1794902400"; d="scan'208";a="5442127" Received: from orviesa007.jf.intel.com ([10.64.159.147]) by orvoesa107.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 05 Dec 2026 01:56:04 -0800 X-CSE-ConnectionGUID: hAqY9FmQQjCT9Wt6jqEKnA== X-CSE-MsgGUID: eox0yNjQTLCLAjAQeioihA== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.29,80,1794902400"; d="scan'208";a="14292192" Received: from lkp-server01.sh.intel.com (HELO 0caa9d2d175c) ([10.239.97.150]) by orviesa007.jf.intel.com with ESMTP; 05 Dec 2026 01:56:00 -0800 Received: from kbuild by 0caa9d2d175c with local (Exim 4.98.2) (envelope-from ) id 1xZmUn-00000001m2F-0hh7; Sat, 05 Dec 2026 09:55:57 +0000 Date: Sat, 5 Dec 2026 17:55:16 +0800 From: kernel test robot To: Robert Mader , dri-devel@lists.freedesktop.org Cc: oe-kbuild-all@lists.linux.dev, Pekka Paalanen , Harry Wentland , Melissa Wen , Sebastian Wick , Robert Mader , Louis Chauvet , Haneen Mohammed , Simona Vetter , Oarora Etimis , Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , David Airlie , Leandro Ribeiro , linux-kernel@vger.kernel.org Subject: Re: [PATCH v2 4/4] drm/vkms: Add support for DRM_COLOROP_1D_CURVE_GAMMA24 Message-ID: <20261205031905.vL8n7pKo-lkp@intel.com> References: <20261204145427.221618-5-robert.mader@collabora.com> X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20261204145427.221618-5-robert.mader@collabora.com> Hi Robert, kernel test robot noticed the following build errors: [auto build test ERROR on drm-misc/drm-misc-next] [also build test ERROR on drm/drm-next drm-tip/drm-tip next-20261203] [cannot apply to linus/master v7.4-rc5] [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/Robert-Mader/drm-vkms-Fix-inverse-lut-naming-scheme-in-script/20261204-155340 base: https://gitlab.freedesktop.org/drm/misc/kernel.git drm-misc-next patch link: https://lore.kernel.org/r/20261204145427.221618-5-robert.mader%40collabora.com patch subject: [PATCH v2 4/4] drm/vkms: Add support for DRM_COLOROP_1D_CURVE_GAMMA24 config: x86_64-rhel-9.4 (https://download.01.org/0day-ci/archive/20261205/20261205031905.vL8n7pKo-lkp@intel.com/config) compiler: gcc-14 (Debian 14.2.0-19) 14.2.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20261205/20261205031905.vL8n7pKo-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/20261205031905.vL8n7pKo-lkp@intel.com/ All errors (new ones prefixed by >>): drivers/gpu/drm/vkms/vkms_composer.c: In function 'apply_colorop': >> drivers/gpu/drm/vkms/vkms_composer.c:280:22: error: 'DRM_COLOROP_1D_CURVE_GAMMA24' undeclared (first use in this function); did you mean 'DRM_COLOROP_1D_CURVE_GAMMA22'? 280 | case DRM_COLOROP_1D_CURVE_GAMMA24: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ | DRM_COLOROP_1D_CURVE_GAMMA22 drivers/gpu/drm/vkms/vkms_composer.c:280:22: note: each undeclared identifier is reported only once for each function it appears in >> drivers/gpu/drm/vkms/vkms_composer.c:285:22: error: 'DRM_COLOROP_1D_CURVE_GAMMA24_INV' undeclared (first use in this function); did you mean 'DRM_COLOROP_1D_CURVE_GAMMA22_INV'? 285 | case DRM_COLOROP_1D_CURVE_GAMMA24_INV: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | DRM_COLOROP_1D_CURVE_GAMMA22_INV -- In file included from include/linux/bits.h:5, from include/linux/ratelimit_types.h:5, from include/linux/printk.h:9, from include/asm-generic/bug.h:31, from arch/x86/include/asm/bug.h:195, from include/linux/bug.h:5, from include/linux/slab.h:15, from drivers/gpu/drm/vkms/vkms_colorop.c:3: >> drivers/gpu/drm/vkms/vkms_colorop.c:16:13: error: 'DRM_COLOROP_1D_CURVE_GAMMA24' undeclared here (not in a function); did you mean 'DRM_COLOROP_1D_CURVE_GAMMA22'? 16 | BIT(DRM_COLOROP_1D_CURVE_GAMMA24) | | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ include/vdso/bits.h:7:44: note: in definition of macro 'BIT' 7 | #define BIT(nr) (UL(1) << (nr)) | ^~ >> drivers/gpu/drm/vkms/vkms_colorop.c:17:13: error: 'DRM_COLOROP_1D_CURVE_GAMMA24_INV' undeclared here (not in a function); did you mean 'DRM_COLOROP_1D_CURVE_GAMMA22_INV'? 17 | BIT(DRM_COLOROP_1D_CURVE_GAMMA24_INV); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ include/vdso/bits.h:7:44: note: in definition of macro 'BIT' 7 | #define BIT(nr) (UL(1) << (nr)) | ^~ vim +280 drivers/gpu/drm/vkms/vkms_composer.c 249 250 static void apply_colorop(struct pixel_argb_s32 *pixel, struct drm_colorop *colorop) 251 { 252 struct drm_colorop_state *colorop_state = colorop->state; 253 struct drm_device *dev = colorop->dev; 254 255 if (colorop->type == DRM_COLOROP_1D_CURVE) { 256 switch (colorop_state->curve_1d_type) { 257 case DRM_COLOROP_1D_CURVE_SRGB_INV_EOTF: 258 pixel->r = apply_lut_to_channel_value(&srgb_inv_eotf, pixel->r, LUT_RED); 259 pixel->g = apply_lut_to_channel_value(&srgb_inv_eotf, pixel->g, LUT_GREEN); 260 pixel->b = apply_lut_to_channel_value(&srgb_inv_eotf, pixel->b, LUT_BLUE); 261 break; 262 case DRM_COLOROP_1D_CURVE_SRGB_EOTF: 263 pixel->r = apply_lut_to_channel_value(&srgb_eotf, pixel->r, LUT_RED); 264 pixel->g = apply_lut_to_channel_value(&srgb_eotf, pixel->g, LUT_GREEN); 265 pixel->b = apply_lut_to_channel_value(&srgb_eotf, pixel->b, LUT_BLUE); 266 break; 267 case DRM_COLOROP_1D_CURVE_GAMMA22: 268 pixel->r = apply_lut_to_channel_value(&gamma22_eotf, pixel->r, LUT_RED); 269 pixel->g = apply_lut_to_channel_value(&gamma22_eotf, pixel->g, LUT_GREEN); 270 pixel->b = apply_lut_to_channel_value(&gamma22_eotf, pixel->b, LUT_BLUE); 271 break; 272 case DRM_COLOROP_1D_CURVE_GAMMA22_INV: 273 pixel->r = apply_lut_to_channel_value(&gamma22_inv_eotf, pixel->r, 274 LUT_RED); 275 pixel->g = apply_lut_to_channel_value(&gamma22_inv_eotf, pixel->g, 276 LUT_GREEN); 277 pixel->b = apply_lut_to_channel_value(&gamma22_inv_eotf, pixel->b, 278 LUT_BLUE); 279 break; > 280 case DRM_COLOROP_1D_CURVE_GAMMA24: 281 pixel->r = apply_lut_to_channel_value(&gamma24_eotf, pixel->r, LUT_RED); 282 pixel->g = apply_lut_to_channel_value(&gamma24_eotf, pixel->g, LUT_GREEN); 283 pixel->b = apply_lut_to_channel_value(&gamma24_eotf, pixel->b, LUT_BLUE); 284 break; > 285 case DRM_COLOROP_1D_CURVE_GAMMA24_INV: 286 pixel->r = apply_lut_to_channel_value(&gamma24_inv_eotf, pixel->r, 287 LUT_RED); 288 pixel->g = apply_lut_to_channel_value(&gamma24_inv_eotf, pixel->g, 289 LUT_GREEN); 290 pixel->b = apply_lut_to_channel_value(&gamma24_inv_eotf, pixel->b, 291 LUT_BLUE); 292 break; 293 default: 294 drm_WARN_ONCE(dev, true, 295 "unknown colorop 1D curve type %d\n", 296 colorop_state->curve_1d_type); 297 break; 298 } 299 } else if (colorop->type == DRM_COLOROP_CTM_3X4) { 300 if (colorop_state->data) 301 apply_3x4_matrix(pixel, 302 (struct drm_color_ctm_3x4 *)colorop_state->data->data); 303 } else if (colorop->type == DRM_COLOROP_FIXED_MATRIX) { 304 /* 305 * Fixed Matrix is a no-op here. YUV-to-RGB conversion 306 * is handled at format read time via the 307 * conversion_matrix set in vkms_plane_atomic_update(). 308 */ 309 } 310 } 311 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki