[radeon-alex:drm-next-4.12 2/19] drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c:5021:39: error: 'struct amdgpu_gfx' has no member named 'in_suspend'

kbuild test robot fengguang.wu at intel.com
Fri Mar 31 20:56:28 UTC 2017


tree:   git://people.freedesktop.org/~agd5f/linux.git drm-next-4.12
head:   d9578cea76791dbaf0ccb8f666372598d279f6f0
commit: 971654d7f39073fa1c7e29298b701cff51ddb8db [2/19] drm/amdgpu: split gfx_v8_0_kiq_init_queue into two
config: i386-randconfig-b0-04010426 (attached as .config)
compiler: gcc-5 (Debian 5.4.1-2) 5.4.1 20160904
reproduce:
        git checkout 971654d7f39073fa1c7e29298b701cff51ddb8db
        # save the attached .config to linux build tree
        make ARCH=i386 

Note: the radeon-alex/drm-next-4.12 HEAD d9578cea76791dbaf0ccb8f666372598d279f6f0 builds fine.
      It only hurts bisectibility.

All errors (new ones prefixed by >>):

   drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c: In function 'gfx_v8_0_kcq_init_queue':
>> drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c:5021:39: error: 'struct amdgpu_gfx' has no member named 'in_suspend'
     if (!adev->gfx.in_reset && !adev->gfx.in_suspend) {
                                          ^
   drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c:5041:33: error: 'kiq' undeclared (first use in this function)
     r = gfx_v8_0_map_queue_enable(&kiq->ring, ring);
                                    ^
   drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c:5041:33: note: each undeclared identifier is reported only once for each function it appears in

vim +5021 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c

  5015	{
  5016		struct amdgpu_device *adev = ring->adev;
  5017		struct vi_mqd *mqd = ring->mqd_ptr;
  5018		int mqd_idx = ring - &adev->gfx.compute_ring[0];
  5019		int r;
  5020	
> 5021		if (!adev->gfx.in_reset && !adev->gfx.in_suspend) {
  5022			memset((void *)mqd, 0, sizeof(*mqd));
  5023			mutex_lock(&adev->srbm_mutex);
  5024			vi_srbm_select(adev, ring->me, ring->pipe, ring->queue, 0);

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation
-------------- next part --------------
A non-text attachment was scrubbed...
Name: .config.gz
Type: application/gzip
Size: 24037 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20170401/924bf49a/attachment-0001.gz>


More information about the dri-devel mailing list