public inbox for linux-tegra@vger.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Mikko Perttunen <mperttunen@nvidia.com>,
	thierry.reding@gmail.com, jonathanh@nvidia.com, airlied@linux.ie,
	daniel@ffwll.ch, robh+dt@kernel.org
Cc: kbuild-all@lists.01.org, linux-tegra@vger.kernel.org,
	devicetree@vger.kernel.org, dri-devel@lists.freedesktop.org,
	Mikko Perttunen <mperttunen@nvidia.com>
Subject: Re: [PATCH 3/3] drm/tegra: Add NVDEC driver
Date: Sat, 13 Feb 2021 20:40:22 +0800	[thread overview]
Message-ID: <202102132054.Su8UkBi7-lkp@intel.com> (raw)
In-Reply-To: <20210213101512.3275069-4-mperttunen@nvidia.com>

[-- Attachment #1: Type: text/plain, Size: 3414 bytes --]

Hi Mikko,

Thank you for the patch! Yet something to improve:

[auto build test ERROR on tegra/for-next]
[also build test ERROR on robh/for-next tegra-drm/drm/tegra/for-next v5.11-rc7 next-20210212]
[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/0day-ci/linux/commits/Mikko-Perttunen/NVIDIA-Tegra-NVDEC-support/20210213-181808
base:   https://git.kernel.org/pub/scm/linux/kernel/git/tegra/linux.git for-next
config: arm-defconfig (attached as .config)
compiler: arm-linux-gnueabi-gcc (GCC) 9.3.0
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
        # https://github.com/0day-ci/linux/commit/5951327b2039bedd20ca3e7837d4cb6021dc9777
        git remote add linux-review https://github.com/0day-ci/linux
        git fetch --no-tags linux-review Mikko-Perttunen/NVIDIA-Tegra-NVDEC-support/20210213-181808
        git checkout 5951327b2039bedd20ca3e7837d4cb6021dc9777
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=arm 

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>

All errors (new ones prefixed by >>):

   drivers/gpu/drm/tegra/nvdec.c: In function 'nvdec_init':
>> drivers/gpu/drm/tegra/nvdec.c:131:2: error: implicit declaration of function 'host1x_syncpt_put'; did you mean 'host1x_syncpt_get'? [-Werror=implicit-function-declaration]
     131 |  host1x_syncpt_put(client->syncpts[0]);
         |  ^~~~~~~~~~~~~~~~~
         |  host1x_syncpt_get
   cc1: some warnings being treated as errors


vim +131 drivers/gpu/drm/tegra/nvdec.c

    91	
    92	static int nvdec_init(struct host1x_client *client)
    93	{
    94		struct tegra_drm_client *drm = host1x_to_drm_client(client);
    95		struct drm_device *dev = dev_get_drvdata(client->host);
    96		struct tegra_drm *tegra = dev->dev_private;
    97		struct nvdec *nvdec = to_vic(drm);
    98		int err;
    99	
   100		err = host1x_client_iommu_attach(client);
   101		if (err < 0 && err != -ENODEV) {
   102			dev_err(nvdec->dev, "failed to attach to domain: %d\n", err);
   103			return err;
   104		}
   105	
   106		nvdec->channel = host1x_channel_request(client);
   107		if (!nvdec->channel) {
   108			err = -ENOMEM;
   109			goto detach;
   110		}
   111	
   112		client->syncpts[0] = host1x_syncpt_request(client, 0);
   113		if (!client->syncpts[0]) {
   114			err = -ENOMEM;
   115			goto free_channel;
   116		}
   117	
   118		err = tegra_drm_register_client(tegra, drm);
   119		if (err < 0)
   120			goto free_syncpt;
   121	
   122		/*
   123		 * Inherit the DMA parameters (such as maximum segment size) from the
   124		 * parent host1x device.
   125		 */
   126		client->dev->dma_parms = client->host->dma_parms;
   127	
   128		return 0;
   129	
   130	free_syncpt:
 > 131		host1x_syncpt_put(client->syncpts[0]);
   132	free_channel:
   133		host1x_channel_put(nvdec->channel);
   134	detach:
   135		host1x_client_iommu_detach(client);
   136	
   137		return err;
   138	}
   139	

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org

[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 54196 bytes --]

  reply	other threads:[~2021-02-13 12:41 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-02-13 10:15 [PATCH 0/3] NVIDIA Tegra NVDEC support Mikko Perttunen
2021-02-13 10:15 ` [PATCH 1/3] dt-bindings: Add YAML bindings for Host1x and NVDEC Mikko Perttunen
2021-02-17 20:24   ` Rob Herring
2021-02-17 21:49   ` Rob Herring
2021-02-18 11:04     ` Mikko Perttunen
2021-02-18 16:45       ` Rob Herring
2021-02-13 10:15 ` [PATCH 2/3] arm64: tegra: Add NVDEC to Tegra186 device tree Mikko Perttunen
2021-02-13 10:15 ` [PATCH 3/3] drm/tegra: Add NVDEC driver Mikko Perttunen
2021-02-13 12:40   ` kernel test robot [this message]
2021-02-16 15:16   ` Jon Hunter

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=202102132054.Su8UkBi7-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=airlied@linux.ie \
    --cc=daniel@ffwll.ch \
    --cc=devicetree@vger.kernel.org \
    --cc=dri-devel@lists.freedesktop.org \
    --cc=jonathanh@nvidia.com \
    --cc=kbuild-all@lists.01.org \
    --cc=linux-tegra@vger.kernel.org \
    --cc=mperttunen@nvidia.com \
    --cc=robh+dt@kernel.org \
    --cc=thierry.reding@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox