[Intel-gfx] [PATCH] drm/i915: Determine uses-full-ppgtt from context for execbuf

Chris Wilson chris at chris-wilson.co.uk
Mon Sep 3 09:15:33 UTC 2018


Quoting Rodrigo Vivi (2018-09-03 06:20:22)
> On Sat, Sep 01, 2018 at 10:24:51AM +0100, Chris Wilson wrote:
> > Rather than inspect the global module parameter for whether full-ppgtt
> > maybe enabled, we can inspect the context directly as to whether it has
> > its own vm.
> > 
> > Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>
> > Cc: Tvrtko Ursulin <tvrtko.ursulin at intel.com>
> > Cc: Bob Paauwe <bob.j.paauwe at intel.com>
> > Cc: Rodrigo Vivi <rodrigo.vivi at intel.com>
> 
> it is good that we don't need to depend on parameter for this.
> 
> Reviewed-by: Rodrigo Vivi <rodrigo.vivi at intel.com>

Ta, pushed. Along the create path it's a little trickier, but we would
rather push the decision down as to what type of ppgtt to create (if
any) to the responsible subsystem. There ought to be a simple way!
-Chris


More information about the Intel-gfx mailing list