[radeon-alex:amd-staging-drm-next 625/639] drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm_types.c:1513:28: error: 'DRM_ROTATE_0' undeclared

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

 



tree:   git://people.freedesktop.org/~agd5f/linux.git amd-staging-drm-next
head:   57f5c7f15032e48265fb4302cf8eb62ec7ce3246
commit: 24ede71be1fefa780f3e8c3ad7e9b65a5d4fd4c2 [625/639] drm/amd/display: Create dm_plane_state.
config: ia64-allmodconfig (attached as .config)
compiler: ia64-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 24ede71be1fefa780f3e8c3ad7e9b65a5d4fd4c2
        # save the attached .config to linux build tree
        make.cross ARCH=ia64 

Note: the radeon-alex/amd-staging-drm-next HEAD 57f5c7f15032e48265fb4302cf8eb62ec7ce3246 builds fine.
      It only hurts bisectibility.

All errors (new ones prefixed by >>):

   drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm_types.c: In function 'dm_drm_plane_reset':
>> drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm_types.c:1513:28: error: 'DRM_ROTATE_0' undeclared (first use in this function)
      plane->state->rotation = DRM_ROTATE_0;
                               ^~~~~~~~~~~~
   drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm_types.c:1513:28: note: each undeclared identifier is reported only once for each function it appears in

vim +/DRM_ROTATE_0 +1513 drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm_types.c

  1499	
  1500	static void dm_drm_plane_reset(struct drm_plane *plane)
  1501	{
  1502		struct dm_plane_state *amdgpu_state = NULL;
  1503		struct amdgpu_device *adev = plane->dev->dev_private;
  1504	
  1505		if (plane->state)
  1506			plane->funcs->atomic_destroy_state(plane, plane->state);
  1507	
  1508		amdgpu_state = kzalloc(sizeof(*amdgpu_state), GFP_KERNEL);
  1509	
  1510		if (amdgpu_state) {
  1511			plane->state = &amdgpu_state->base;
  1512			plane->state->plane = plane;
> 1513			plane->state->rotation = DRM_ROTATE_0;
  1514	
  1515			amdgpu_state->dc_surface = dc_create_surface(adev->dm.dc);
  1516			WARN_ON(!amdgpu_state->dc_surface);
  1517		}
  1518		else
  1519			WARN_ON(1);
  1520	}
  1521	

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