[radeon-alex:drm-next-4.13-wip 26/285] drivers/gpu//drm/amd/amdgpu/gfx_v8_0.c:5034:33: error: 'kiq' undeclared

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



tree:   git://people.freedesktop.org/~agd5f/linux.git drm-next-4.13-wip
head:   8411e96140075b1d324df88443f057d8b7aa4296
commit: 3930011594af82812b69551ce96aefef7c1ac1a9 [26/285] drm/amdgpu: split gfx_v8_0_kiq_init_queue into two
config: frv-allyesconfig (attached as .config)
compiler: frv-linux-gcc (GCC) 6.2.0
reproduce:
        wget https://raw.githubusercontent.com/01org/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        git checkout 3930011594af82812b69551ce96aefef7c1ac1a9
        # save the attached .config to linux build tree
        make.cross ARCH=frv 

Note: the radeon-alex/drm-next-4.13-wip HEAD 8411e96140075b1d324df88443f057d8b7aa4296 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:5034: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:5034:33: note: each undeclared identifier is reported only once for each function it appears in

vim +/kiq +5034 drivers/gpu//drm/amd/amdgpu/gfx_v8_0.c

39300115 Alex Deucher  2017-03-29  5018  		gfx_v8_0_mqd_init(ring);
39300115 Alex Deucher  2017-03-29  5019  		vi_srbm_select(adev, 0, 0, 0, 0);
39300115 Alex Deucher  2017-03-29  5020  		mutex_unlock(&adev->srbm_mutex);
39300115 Alex Deucher  2017-03-29  5021  
39300115 Alex Deucher  2017-03-29  5022  		if (adev->gfx.mec.mqd_backup[mqd_idx])
39300115 Alex Deucher  2017-03-29  5023  			memcpy(adev->gfx.mec.mqd_backup[mqd_idx], mqd, sizeof(*mqd));
39300115 Alex Deucher  2017-03-29  5024  	} else { /* for GPU_RESET case */
39300115 Alex Deucher  2017-03-29  5025  		/* reset MQD to a clean status */
39300115 Alex Deucher  2017-03-29  5026  		if (adev->gfx.mec.mqd_backup[mqd_idx])
39300115 Alex Deucher  2017-03-29  5027  			memcpy(mqd, adev->gfx.mec.mqd_backup[mqd_idx], sizeof(*mqd));
39300115 Alex Deucher  2017-03-29  5028  
39300115 Alex Deucher  2017-03-29  5029  		/* reset ring buffer */
39300115 Alex Deucher  2017-03-29  5030  		ring->wptr = 0;
39300115 Alex Deucher  2017-03-29  5031  		amdgpu_ring_clear_ring(ring);
39300115 Alex Deucher  2017-03-29  5032  	}
39300115 Alex Deucher  2017-03-29  5033  
f776952b Alex Deucher  2017-03-29 @5034  	r = gfx_v8_0_map_queue_enable(&kiq->ring, ring);
4e638ae9 Xiangliang Yu 2016-12-23  5035  
f776952b Alex Deucher  2017-03-29  5036  	return r;
4e638ae9 Xiangliang Yu 2016-12-23  5037  }
4e638ae9 Xiangliang Yu 2016-12-23  5038  
596c67d0 Monk Liu      2017-02-06  5039  static int gfx_v8_0_kiq_resume(struct amdgpu_device *adev)
4e638ae9 Xiangliang Yu 2016-12-23  5040  {
4e638ae9 Xiangliang Yu 2016-12-23  5041  	struct amdgpu_ring *ring = NULL;
596c67d0 Monk Liu      2017-02-06  5042  	int r = 0, i;

:::::: The code at line 5034 was first introduced by commit
:::::: f776952b76f1ef666987f8aea4687d12f0d394a7 drm/amdgpu/gfx8: wait for completion in KIQ init

:::::: TO: Alex Deucher <alexander.deucher@xxxxxxx>
:::::: CC: Alex Deucher <alexander.deucher@xxxxxxx>

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation

Attachment: .config.gz
Description: application/gzip

_______________________________________________
dri-devel mailing list
dri-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/dri-devel

[Index of Archives]     [Linux DRI Users]     [Linux Intel Graphics]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux