Subject: [linux-next][P9]Build error at drivers/gpu/drm/amd/amdgpu/amdgpu_mn.h:69 error: field mirror has incomplete type

From: Abdul Haleem <[email-masked]>
Date: Tue, 09 Jul 2019 21:56:37 +0530

Greeting's

linux-next failed to build on Power 9 Box with below error

In file included from drivers/gpu/drm/amd/amdgpu/amdgpu.h:72:0,
                 from drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c:39:
drivers/gpu/drm/amd/amdgpu/amdgpu_mn.h:69:20: error: field â€˜mirrorâ€™
has incomplete type
  struct hmm_mirror mirror;
                    ^
make[5]: *** [drivers/gpu/drm/amd/amdgpu/amdgpu_drv.o] Error 1
make[4]: *** [drivers/gpu/drm/amd/amdgpu] Error 2
make[3]: *** [drivers/gpu/drm] Error 2
make[2]: *** [drivers/gpu] Error 2

Kernel version: 5.2.0-next-20190708
Machine: Power 9 
Kernel config attached

-- 
Regard's

Abdul Haleem
IBM Linux Technology Centre