Hi Bob,

Thank you for the patch! Yet something to improve:

[auto build test ERROR on drm-intel/for-linux-next]
[also build test ERROR on next-20181107]
[cannot apply to v4.20-rc1]
[if your patch is applied to the wrong git tree, please drop us a note to help 
improve the system]

url:    
https://github.com/0day-ci/linux/commits/Bob-Paauwe/drm-i915-Make-48bit-full-ppgtt-configuration-generic-v9/20181108-104436
base:   git://anongit.freedesktop.org/drm-intel for-linux-next
config: x86_64-allmodconfig (attached as .config)
compiler: gcc-7 (Debian 7.3.0-1) 7.3.0
reproduce:
        # 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:47:43: error: 'VGT_CAPS_4LVL_PPGTT' 
>> undeclared (first use in this function); did you mean 'VGT_CAPS_FULL_PPGTT'?
     vgpu_vreg_t(vgpu, vgtif_reg(vgt_caps)) = VGT_CAPS_4LVL_PPGTT;
                                              ^~~~~~~~~~~~~~~~~~~
                                              VGT_CAPS_FULL_PPGTT
   drivers/gpu/drm/i915/gvt/vgpu.c:47:43: note: each undeclared identifier is 
reported only once for each function it appears in

vim +47 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_t(vgpu, vgtif_reg(magic)) = VGT_MAGIC;
    42          vgpu_vreg_t(vgpu, vgtif_reg(version_major)) = 1;
    43          vgpu_vreg_t(vgpu, vgtif_reg(version_minor)) = 0;
    44          vgpu_vreg_t(vgpu, vgtif_reg(display_ready)) = 0;
    45          vgpu_vreg_t(vgpu, vgtif_reg(vgt_id)) = vgpu->id;
    46  
  > 47          vgpu_vreg_t(vgpu, vgtif_reg(vgt_caps)) = VGT_CAPS_4LVL_PPGTT;
    48          vgpu_vreg_t(vgpu, vgtif_reg(vgt_caps)) |= 
VGT_CAPS_HWSP_EMULATION;
    49          vgpu_vreg_t(vgpu, vgtif_reg(vgt_caps)) |= VGT_CAPS_HUGE_GTT;
    50  
    51          vgpu_vreg_t(vgpu, vgtif_reg(avail_rs.mappable_gmadr.base)) =
    52                  vgpu_aperture_gmadr_base(vgpu);
    53          vgpu_vreg_t(vgpu, vgtif_reg(avail_rs.mappable_gmadr.size)) =
    54                  vgpu_aperture_sz(vgpu);
    55          vgpu_vreg_t(vgpu, vgtif_reg(avail_rs.nonmappable_gmadr.base)) =
    56                  vgpu_hidden_gmadr_base(vgpu);
    57          vgpu_vreg_t(vgpu, vgtif_reg(avail_rs.nonmappable_gmadr.size)) =
    58                  vgpu_hidden_sz(vgpu);
    59  
    60          vgpu_vreg_t(vgpu, vgtif_reg(avail_rs.fence_num)) = 
vgpu_fence_sz(vgpu);
    61  
    62          vgpu_vreg_t(vgpu, vgtif_reg(cursor_x_hot)) = UINT_MAX;
    63          vgpu_vreg_t(vgpu, vgtif_reg(cursor_y_hot)) = UINT_MAX;
    64  
    65          gvt_dbg_core("Populate PVINFO PAGE for vGPU %d\n", vgpu->id);
    66          gvt_dbg_core("aperture base [GMADR] 0x%llx size 0x%llx\n",
    67                  vgpu_aperture_gmadr_base(vgpu), vgpu_aperture_sz(vgpu));
    68          gvt_dbg_core("hidden base [GMADR] 0x%llx size=0x%llx\n",
    69                  vgpu_hidden_gmadr_base(vgpu), vgpu_hidden_sz(vgpu));
    70          gvt_dbg_core("fence size %d\n", vgpu_fence_sz(vgpu));
    71  
    72          WARN_ON(sizeof(struct vgt_if) != VGT_PVINFO_SIZE);
    73  }
    74  

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation

Attachment: .config.gz
Description: application/gzip

_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

Reply via email to