[gvt-linux:gvt-next 40/41] drivers/gpu/drm/i915/gvt/vgpu.c:48:42: error: 'VGT_CAPS_HWSP_EMULATION' undeclared
kbuild test robot
fengguang.wu at intel.com
Sat Oct 21 11:44:00 UTC 2017
tree: https://github.com/01org/gvt-linux.git gvt-next
head: e407bc575e24158b2b3844f934c8a2cdec8ae8e4
commit: 95ebdc1738c3d705e0c14d15f6a62d22cf1724c1 [40/41] drm/i915/gvt: update CSB and CSB write pointer in virtual HWSP
config: x86_64-randconfig-s5-10211749 (attached as .config)
compiler: gcc-6 (Debian 6.2.0-3) 6.2.0 20160901
reproduce:
git checkout 95ebdc1738c3d705e0c14d15f6a62d22cf1724c1
# save the attached .config to linux build tree
make ARCH=x86_64
All errors (new ones prefixed by >>):
drivers/gpu/drm/i915/gvt/vgpu.c: In function 'populate_pvinfo_page':
>> drivers/gpu/drm/i915/gvt/vgpu.c:48:42: error: 'VGT_CAPS_HWSP_EMULATION' undeclared (first use in this function)
vgpu_vreg(vgpu, vgtif_reg(vgt_caps)) |= VGT_CAPS_HWSP_EMULATION;
^~~~~~~~~~~~~~~~~~~~~~~
drivers/gpu/drm/i915/gvt/vgpu.c:48:42: note: each undeclared identifier is reported only once for each function it appears in
vim +/VGT_CAPS_HWSP_EMULATION +48 drivers/gpu/drm/i915/gvt/vgpu.c
37
38 void populate_pvinfo_page(struct intel_vgpu *vgpu)
39 {
40 /* setup the ballooning information */
41 vgpu_vreg64(vgpu, vgtif_reg(magic)) = VGT_MAGIC;
42 vgpu_vreg(vgpu, vgtif_reg(version_major)) = 1;
43 vgpu_vreg(vgpu, vgtif_reg(version_minor)) = 0;
44 vgpu_vreg(vgpu, vgtif_reg(display_ready)) = 0;
45 vgpu_vreg(vgpu, vgtif_reg(vgt_id)) = vgpu->id;
46
47 vgpu_vreg(vgpu, vgtif_reg(vgt_caps)) = VGT_CAPS_FULL_48BIT_PPGTT;
> 48 vgpu_vreg(vgpu, vgtif_reg(vgt_caps)) |= VGT_CAPS_HWSP_EMULATION;
49
50 vgpu_vreg(vgpu, vgtif_reg(avail_rs.mappable_gmadr.base)) =
51 vgpu_aperture_gmadr_base(vgpu);
52 vgpu_vreg(vgpu, vgtif_reg(avail_rs.mappable_gmadr.size)) =
53 vgpu_aperture_sz(vgpu);
54 vgpu_vreg(vgpu, vgtif_reg(avail_rs.nonmappable_gmadr.base)) =
55 vgpu_hidden_gmadr_base(vgpu);
56 vgpu_vreg(vgpu, vgtif_reg(avail_rs.nonmappable_gmadr.size)) =
57 vgpu_hidden_sz(vgpu);
58
59 vgpu_vreg(vgpu, vgtif_reg(avail_rs.fence_num)) = vgpu_fence_sz(vgpu);
60
61 gvt_dbg_core("Populate PVINFO PAGE for vGPU %d\n", vgpu->id);
62 gvt_dbg_core("aperture base [GMADR] 0x%llx size 0x%llx\n",
63 vgpu_aperture_gmadr_base(vgpu), vgpu_aperture_sz(vgpu));
64 gvt_dbg_core("hidden base [GMADR] 0x%llx size=0x%llx\n",
65 vgpu_hidden_gmadr_base(vgpu), vgpu_hidden_sz(vgpu));
66 gvt_dbg_core("fence size %d\n", vgpu_fence_sz(vgpu));
67
68 WARN_ON(sizeof(struct vgt_if) != VGT_PVINFO_SIZE);
69 }
70
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
-------------- next part --------------
A non-text attachment was scrubbed...
Name: .config.gz
Type: application/gzip
Size: 37849 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/intel-gvt-dev/attachments/20171021/b905545c/attachment-0001.gz>
More information about the intel-gvt-dev
mailing list