Re: [Intel-gfx] [PATCH] drm/i915: check ppgtt validity when init reg state

2017-01-09 Thread Chris Wilson
On Mon, Jan 09, 2017 at 05:16:01PM +0800, Zhenyu Wang wrote: > Check if ppgtt is valid for context when init reg state. For gvt > context which has no i915 allocated ppgtt, failed to check that > would cause kernel null ptr reference error. > > Signed-off-by: Zhenyu Wang

[Intel-gfx] [PATCH] drm/i915: check ppgtt validity when init reg state

2017-01-09 Thread Zhenyu Wang
Check if ppgtt is valid for context when init reg state. For gvt context which has no i915 allocated ppgtt, failed to check that would cause kernel null ptr reference error. Signed-off-by: Zhenyu Wang --- drivers/gpu/drm/i915/intel_lrc.c | 28