Received: by 2002:a6b:500f:0:0:0:0:0 with SMTP id e15csp221093iob; Mon, 2 May 2022 17:37:57 -0700 (PDT) X-Google-Smtp-Source: ABdhPJx5krD7YuJgeCoAYN2IEO1fChLyAibaIOqJtiIS9SAj0uhLe3wgeobPVBNoUHYTIxLR0YwZ X-Received: by 2002:a05:6a00:198f:b0:50e:7e6:6d5c with SMTP id d15-20020a056a00198f00b0050e07e66d5cmr2311041pfl.20.1651538277093; Mon, 02 May 2022 17:37:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1651538277; cv=none; d=google.com; s=arc-20160816; b=0tBSKRX/C2AOCNvF5l7yhyCfy3ZSZ3OnjhvNGR9aX9Lj/uUZOXe8tRZOqAA398BIEk fHQ8UCze3i+7YQCJNsoC57XiDCkDA41b0WTP8S5FB/zPfbPWSEwo/dtmBZEYmjHoQfWo jy81rBTHePdZ34woZYbvMKyKhUYu/qaHFINqAyAzVXYCoSRNs/fzd54NORkQ+3gPGk7Y U0aXUjZFxEY+utdB5CP1NVdL4cg+m0jFe9iIPRxPTj6LfyNxo2dKZJAOeiNBnbrLYX6J pPkvTCZ3cUv+jRg9N3AYesWC12btuOIcRx3yQM5T9RxEUm+htFSXzHhAYujfuOhMBiof xdQQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=qWlXgcfs91JFFOcXC/9FzzdrzcyyUcZLlpWJfmU5Jho=; b=GgOTitPojBbj5bEHqIIbfREsX/cegZ/9qgwG74C94qSsQ5rGSOYI66m+RIYIL9ww0J XNBOC/DPMiS+kq5695yPSXhe4qeRdM0yYrLYlHc4TV1GevkQLpb2uZzW7/b72DYgUUgk J7hW5I02i61EC2KxX0Lh7STbO5AaZVHnZ3l68QuToPSARENaizUga7eiRlQ64o728yt1 gO/ztCoEEisGrE5LUW5PYOs+FYs1YVXnS3OLZT6HdSH/4X225W/g96a61X2FzAYYqoX2 2iWdxw8grxG9nbo+GBod6JKJmSWtDizCf0DcOTOhz9erPOe/px+k0cdb4k7Bz3hpH8i5 bw1w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=aRelUJHA; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id b17-20020a170902e95100b00153b2d165bdsi3301928pll.453.2022.05.02.17.37.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 02 May 2022 17:37:57 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=aRelUJHA; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id C0E0D260B; Mon, 2 May 2022 17:29:33 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1379003AbiD2QXk (ORCPT + 99 others); Fri, 29 Apr 2022 12:23:40 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59486 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234286AbiD2QXj (ORCPT ); Fri, 29 Apr 2022 12:23:39 -0400 Received: from mga18.intel.com (mga18.intel.com [134.134.136.126]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6D0F218B03; Fri, 29 Apr 2022 09:20:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1651249219; x=1682785219; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=NeeAYHCb2w8hfb2CqYSw0VXn0vgeaiNaoDLMfEcGd6U=; b=aRelUJHAOq5NynNFsOMgxpTUUmwyD7sqd+ssbUpr7TAdnbSWbbgoRF+e jjybxaW1I/hkW+UJyaEenrpnZ/ulReHuvuDra9KfakQb3JixCSV3YJFdg rPuVqJq3zu1AwWjwzlNB+Opm56Kh389PtrrMhoQDT365dKURzZBGq+k8i pyRIDWbjBvgGjwn7t2ToiePiAHsrCCLDUS2m8v0HuAP85If0RCvkhjya6 bpdTJVxUwx4ZO+yF20xUUJKcrHHczqMNC7qNevpP7hQugtFSMMPOeE29g gTL63FFWf37Wav2LvlttZ4pWeUY7wYQQlCBCEsBY8QN0VPrzZr00Ons2E Q==; X-IronPort-AV: E=McAfee;i="6400,9594,10332"; a="248617880" X-IronPort-AV: E=Sophos;i="5.91,185,1647327600"; d="scan'208";a="248617880" Received: from orsmga002.jf.intel.com ([10.7.209.21]) by orsmga106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 29 Apr 2022 09:20:19 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.91,185,1647327600"; d="scan'208";a="542671702" Received: from lkp-server01.sh.intel.com (HELO 5056e131ad90) ([10.239.97.150]) by orsmga002.jf.intel.com with ESMTP; 29 Apr 2022 09:20:16 -0700 Received: from kbuild by 5056e131ad90 with local (Exim 4.95) (envelope-from ) id 1nkTLs-0006Tj-2q; Fri, 29 Apr 2022 16:20:16 +0000 Date: Sat, 30 Apr 2022 00:19:15 +0800 From: kernel test robot To: Vikash Garodia , linux-media@vger.kernel.org, stanimir.varbanov@linaro.org Cc: llvm@lists.linux.dev, kbuild-all@lists.01.org, linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org, quic_vgarodia@quicinc.com, frkoenig@chromium.org, quic_dikshita@quicinc.com Subject: Re: [PATCH] media: venus: set ubwc configuration on specific video hardware Message-ID: <202204300037.EcG1kDyl-lkp@intel.com> References: <1651131248-20313-1-git-send-email-quic_vgarodia@quicinc.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1651131248-20313-1-git-send-email-quic_vgarodia@quicinc.com> X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RDNS_NONE,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Vikash, Thank you for the patch! Yet something to improve: [auto build test ERROR on media-tree/master] [also build test ERROR on v5.18-rc4 next-20220429] [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] url: https://github.com/intel-lab-lkp/linux/commits/Vikash-Garodia/media-venus-set-ubwc-configuration-on-specific-video-hardware/20220428-153510 base: git://linuxtv.org/media_tree.git master config: arm64-allmodconfig (https://download.01.org/0day-ci/archive/20220430/202204300037.EcG1kDyl-lkp@intel.com/config) compiler: clang version 15.0.0 (https://github.com/llvm/llvm-project c59473aacce38cd7dd77eebceaf3c98c5707ab3b) reproduce (this is a W=1 build): wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross # install arm64 cross compiling tool for clang build # apt-get install binutils-aarch64-linux-gnu # https://github.com/intel-lab-lkp/linux/commit/22d299bea1f679d007cb71b3916bf39bb957ab66 git remote add linux-review https://github.com/intel-lab-lkp/linux git fetch --no-tags linux-review Vikash-Garodia/media-venus-set-ubwc-configuration-on-specific-video-hardware/20220428-153510 git checkout 22d299bea1f679d007cb71b3916bf39bb957ab66 # save the config file mkdir build_dir && cp config build_dir/.config COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=arm64 SHELL=/bin/bash arch/arm64/crypto/ arch/arm64/kernel/ drivers/media/platform/qcom/venus/ If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot All errors (new ones prefixed by >>): >> drivers/media/platform/qcom/venus/hfi_venus.c:997:35: error: too few arguments to function call, single argument 'hdev' was not specified ret = venus_sys_set_ubwc_config(); ~~~~~~~~~~~~~~~~~~~~~~~~~ ^ drivers/media/platform/qcom/venus/hfi_venus.c:907:12: note: 'venus_sys_set_ubwc_config' declared here static int venus_sys_set_ubwc_config(struct venus_hfi_device *hdev) ^ 1 error generated. vim +/hdev +997 drivers/media/platform/qcom/venus/hfi_venus.c 967 968 static int venus_sys_set_default_properties(struct venus_hfi_device *hdev) 969 { 970 struct device *dev = hdev->core->dev; 971 const struct venus_resources *res = hdev->core->res; 972 int ret; 973 974 ret = venus_sys_set_debug(hdev, venus_fw_debug); 975 if (ret) 976 dev_warn(dev, "setting fw debug msg ON failed (%d)\n", ret); 977 978 /* 979 * Idle indicator is disabled by default on some 4xx firmware versions, 980 * enable it explicitly in order to make suspend functional by checking 981 * WFI (wait-for-interrupt) bit. 982 */ 983 if (IS_V4(hdev->core) || IS_V6(hdev->core)) 984 venus_sys_idle_indicator = true; 985 986 ret = venus_sys_set_idle_message(hdev, venus_sys_idle_indicator); 987 if (ret) 988 dev_warn(dev, "setting idle response ON failed (%d)\n", ret); 989 990 ret = venus_sys_set_power_control(hdev, venus_fw_low_power_mode); 991 if (ret) 992 dev_warn(dev, "setting hw power collapse ON failed (%d)\n", 993 ret); 994 995 /* For specific venus core, it is mandatory to set the UBWC configuration */ 996 if (res->ubwc_conf) { > 997 ret = venus_sys_set_ubwc_config(); 998 if (ret) 999 dev_warn(dev, "setting ubwc config failed (%d)\n", ret); 1000 } 1001 1002 return ret; 1003 } 1004 -- 0-DAY CI Kernel Test Service https://01.org/lkp