On Mon, Jan 09, 2017 at 09:14:53PM +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. > > v2: remove !48bit ppgtt case as we'll always update before submit (Chris) > > Signed-off-by: Zhenyu Wang <zhenyuw@xxxxxxxxxxxxxxx> In the absence of any ppgtt, the reg state is zeroed (and before any use by hw in !48bit). That seems reasonable, Reviewed-by: Chris Wilson <chris@xxxxxxxxxxxxxxxxxx> -Chris -- Chris Wilson, Intel Open Source Technology Centre _______________________________________________ Intel-gfx mailing list Intel-gfx@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/intel-gfx