[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'

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

 



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

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