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 A77C7D2502F for ; Mon, 12 Jan 2026 04:04:59 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 8B6FE10E09C; Mon, 12 Jan 2026 04:04:58 +0000 (UTC) Authentication-Results: gabe.freedesktop.org; dkim=pass (2048-bit key; unprotected) header.d=intel.com header.i=@intel.com header.b="IunrcjUH"; dkim-atps=neutral Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.17]) by gabe.freedesktop.org (Postfix) with ESMTPS id 64B3F10E09C for ; Mon, 12 Jan 2026 04:04:57 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1768190697; x=1799726697; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=nobKRwxVgMWgBjdLoVjmDjhxZXi9yTdtiAgAN804SFE=; b=IunrcjUHg69++CLL2b46YHlpY1vSHKR57CpTDEVIuxsFuRfNHokcG8gt YJ/uAd2HV4HIHV+UXNuq6hcF0hUbeCnRA1Eqt+vYnw0/qwhI76ih08UhI hWHTvqM2gBPtjYVtubwK1Jd8dzYyE1KtvkNalc82gYmEqyLHxu0Io5eNA i7MG2TCC28QnE4zTWmJFigXs59VSR+/nfS7TvhV5uJVsMSn4mmLabo/Pf 2fer64saL8QRp+ebaqzIAoSgG60W5o7BgR5IpX2yHMs07vM/YYOhggRMs 4Jm/VqHVlajloLeGfUTO4XHQZRjde9BRzfzzPbVYNQP1Ojmsgdb5KE1go g==; X-CSE-ConnectionGUID: Ueh5iW+qTlaNFMBXjS53PQ== X-CSE-MsgGUID: PNl9tluITa6jbap6TAO9MA== X-IronPort-AV: E=McAfee;i="6800,10657,11668"; a="69448505" X-IronPort-AV: E=Sophos;i="6.21,219,1763452800"; d="scan'208";a="69448505" Received: from orviesa003.jf.intel.com ([10.64.159.143]) by orvoesa109.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 11 Jan 2026 20:04:56 -0800 X-CSE-ConnectionGUID: 0gYD4nNUSfKVN5gNJXPAVQ== X-CSE-MsgGUID: /+SJJSmDSU2VNFpUx2CvjA== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.21,219,1763452800"; d="scan'208";a="208130772" Received: from lkp-server01.sh.intel.com (HELO 765f4a05e27f) ([10.239.97.150]) by orviesa003.jf.intel.com with ESMTP; 11 Jan 2026 20:04:54 -0800 Received: from kbuild by 765f4a05e27f with local (Exim 4.98.2) (envelope-from ) id 1vf9Ah-00000000Cy0-1Z8u; Mon, 12 Jan 2026 04:04:51 +0000 Date: Mon, 12 Jan 2026 12:03:53 +0800 From: kernel test robot To: dongwon.kim@intel.com, dri-devel@lists.freedesktop.org, airlied@redhat.com, kraxel@redhat.com, dmitry.osipenko@collabora.com Cc: llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev, nirmoyd@nvidia.com, vivek.kasireddy@intel.com Subject: Re: [PATCH v7 2/3] drm/virtio: Add support for saving and restoring virtio_gpu_objects Message-ID: <202601121153.7CddhDzp-lkp@intel.com> References: <20260107182745.229481-3-dongwon.kim@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20260107182745.229481-3-dongwon.kim@intel.com> X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Hi, 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 daeinki-drm-exynos/exynos-drm-next drm-i915/for-linux-next drm-i915/for-linux-next-fixes drm-tip/drm-tip linus/master v6.19-rc4 next-20260109] [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/dongwon-kim-intel-com/drm-virtio-Freeze-and-restore-hooks-to-support-suspend-and-resume/20260108-024124 base: https://gitlab.freedesktop.org/drm/misc/kernel.git drm-misc-next patch link: https://lore.kernel.org/r/20260107182745.229481-3-dongwon.kim%40intel.com patch subject: [PATCH v7 2/3] drm/virtio: Add support for saving and restoring virtio_gpu_objects config: hexagon-allmodconfig (https://download.01.org/0day-ci/archive/20260112/202601121153.7CddhDzp-lkp@intel.com/config) compiler: clang version 17.0.6 (https://github.com/llvm/llvm-project 6009708b4367171ccdbf4b5905cb6a803753fe18) reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260112/202601121153.7CddhDzp-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/202601121153.7CddhDzp-lkp@intel.com/ All errors (new ones prefixed by >>): >> drivers/gpu/drm/virtio/virtgpu_prime.c:291:3: error: call to undeclared function 'DRM_ERROR'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 291 | DRM_ERROR("no sgt bound to virtio_gpu_object\n"); | ^ drivers/gpu/drm/virtio/virtgpu_prime.c:299:3: error: call to undeclared function 'DRM_ERROR'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 299 | DRM_ERROR("failed to allocate ent list\n"); | ^ 2 errors generated. vim +/DRM_ERROR +291 drivers/gpu/drm/virtio/virtgpu_prime.c 282 283 int virtgpu_dma_buf_obj_resubmit(struct virtio_gpu_device *vgdev, 284 struct virtio_gpu_object *bo) 285 { 286 struct virtio_gpu_mem_entry *ents; 287 struct scatterlist *sl; 288 int i; 289 290 if (!bo->sgt) { > 291 DRM_ERROR("no sgt bound to virtio_gpu_object\n"); 292 return -ENOMEM; 293 } 294 295 ents = kvmalloc_array(bo->sgt->nents, 296 sizeof(struct virtio_gpu_mem_entry), 297 GFP_KERNEL); 298 if (!ents) { 299 DRM_ERROR("failed to allocate ent list\n"); 300 return -ENOMEM; 301 } 302 303 for_each_sgtable_dma_sg(bo->sgt, sl, i) { 304 ents[i].addr = cpu_to_le64(sg_dma_address(sl)); 305 ents[i].length = cpu_to_le32(sg_dma_len(sl)); 306 ents[i].padding = 0; 307 } 308 309 virtio_gpu_cmd_resource_create_blob(vgdev, bo, &bo->params, 310 ents, bo->sgt->nents); 311 312 return 0; 313 } 314 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki