forked from Minki/linux
drm/i915/gvt: do not ignore return value of create_scratch_page
Function create_scratch_page() may fail in some cases. Signed-off-by: Du, Changbin <changbin.du@intel.com> Signed-off-by: Zhenyu Wang <zhenyuw@linux.intel.com>
This commit is contained in:
parent
76a79d59ad
commit
19e6393fb5
@ -1995,8 +1995,7 @@ int intel_vgpu_init_gtt(struct intel_vgpu *vgpu)
|
||||
|
||||
gtt->ggtt_mm = ggtt_mm;
|
||||
|
||||
create_scratch_page(vgpu);
|
||||
return 0;
|
||||
return create_scratch_page(vgpu);
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user