amd-staging-drm-next has a compilation issue

Rodrigo Siqueira Rodrigo.Siqueira at amd.com
Fri Sep 25 13:54:56 UTC 2020


Hi,

When I tried to build the latest code from amd-staging-drm-next, I got
the following build failure:

drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c: In function ‘amdgpu_virt_init_data_exchange’:
drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c:586:10: error: ‘struct amdgpu_device’ has no member named ‘fw_vram_usage’
  586 |  if (adev->fw_vram_usage.va != NULL) {
      |          ^~
drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c:591:9: error: ‘struct amdgpu_device’ has no member named ‘fw_vram_usage’
  591 |    (adev->fw_vram_usage.va + (AMD_SRIOV_MSG_PF2VF_OFFSET_KB << 10));
      |         ^~
drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c:594:9: error: ‘struct amdgpu_device’ has no member named ‘fw_vram_usage’
  594 |    (adev->fw_vram_usage.va + (AMD_SRIOV_MSG_VF2PF_OFFSET_KB << 10));
      |         ^~
make[4]: *** [scripts/Makefile.build:283: drivers/gpu/drm/amd/amdgpu/amdgpu_virt.o] Error 1

The latest commit that I tried:

drm/amd/pm: fix screen flicker seen on Navi14 with 2*4K monitors

Does anyone has seen this issue?

Best Regards

-- 
Rodrigo Siqueira
https://siqueira.tech
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/amd-gfx/attachments/20200925/0556dfcf/attachment.sig>


More information about the amd-gfx mailing list