Re: [PATCH] drm/i915/gvt: print actionable error message when gm runs out

2020-06-07 Thread Julian Stecklina
On Fri, 2020-06-05 at 12:54 +0800, Zhenyu Wang wrote: > On 2020.06.03 14:33:21 +0200, Julian Stecklina wrote: > > + gvt_err("vgpu%d: failed to allocate %s gm space from host\n", > > + vgpu->id, high_gm ? "high" : "low"); > > + gvt_err("vgpu%d: destroying vGPUs,

Re: [PATCH] drm/i915/gvt: print actionable error message when gm runs out

2020-06-04 Thread Zhenyu Wang
On 2020.06.03 14:33:21 +0200, Julian Stecklina wrote: > When a user tries to allocate too many or too big vGPUs and runs out > of graphics memory, the resulting error message is not actionable and > looks like an internal error. > > Change the error message to clearly point out what actions a user

[PATCH] drm/i915/gvt: print actionable error message when gm runs out

2020-06-04 Thread Julian Stecklina
When a user tries to allocate too many or too big vGPUs and runs out of graphics memory, the resulting error message is not actionable and looks like an internal error. Change the error message to clearly point out what actions a user can take to resolve this situation. Cc: Thomas Prescher Cc: Z