Build broken in drm-tip

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

 



Hello Mario,

This is Chaitanya from the Linux graphics team in Intel.

We are seeing a build issue in drm-tip[1]

``````````````````````````````````````````````````````````````````````````````````````````````````````````
  CALL    scripts/checksyscalls.sh
  DESCEND objtool
  INSTALL libsubcmd_headers
  CC [M]  drivers/gpu/drm/amd/amdgpu/vi.o
drivers/gpu/drm/amd/amdgpu/vi.c: In function ‘vi_program_aspm’:
drivers/gpu/drm/amd/amdgpu/vi.c:1127:47: error: implicit declaration of function ‘amdgpu_device_pcie_dynamic_switching_supported’ [-Werror=implicit-function-declaration]
 1127 |  if (!amdgpu_device_should_use_aspm(adev) || !amdgpu_device_pcie_dynamic_switching_supported())
      |                                               ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cc1: some warnings being treated as errors
make[6]: *** [scripts/Makefile.build:243: drivers/gpu/drm/amd/amdgpu/vi.o] Error 1
make[5]: *** [scripts/Makefile.build:480: drivers/gpu/drm/amd/amdgpu] Error 2
make[4]: *** [scripts/Makefile.build:480: drivers/gpu/drm] Error 2
make[3]: *** [scripts/Makefile.build:480: drivers/gpu] Error 2
make[2]: *** [scripts/Makefile.build:480: drivers] Error 2
make[1]: *** [/home/kbuild2/kernel/Makefile:1913: .] Error 2
make: *** [Makefile:234: __sub-make] Error 2
``````````````````````````````````````````````````````````````````````````````````````````````````````````

It seems to be caused by the following commit [2]

“drm/amd: Explicitly disable ASPM when dynamic switching disabled”

Could you please check and provide a fix if necessary?

[1] https://cgit.freedesktop.org/drm-tip/tree/
[2] https://cgit.freedesktop.org/drm-tip/commit/?id=2757a848cb0f1





[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