[Intel-gfx] [PATCH 04/11] drm/i915: Add ioctl to set per-context parameters

Chris Wilson chris at chris-wilson.co.uk
Wed Jan 7 05:18:56 PST 2015


On Wed, Jan 07, 2015 at 02:08:46PM +0100, Daniel Vetter wrote:
> On Wed, Jan 07, 2015 at 01:57:04PM +0200, Mika Kuoppala wrote:
> > Rodrigo Vivi <rodrigo.vivi at intel.com> writes:
> > 
> > > From: Chris Wilson <chris at chris-wilson.co.uk>
> > >
> > > Sometimes we wish to tweak how an individual context behaves. Since we
> > > always create a context for every filp, this means that individual
> > > processes can fine tune their behaviour even if they do not explicitly
> > > create a context.
> > >
> > > The first example parameter here is to enable multi-process GPU testing,
> > > but the interface should be able to cope with passing arbitrarily complex
> > > parameters.
> > >
> > > Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>
> > > Signed-off-by: Rodrigo Vivi <rodrigo.vivi at intel.com>
> > 
> > Reviewed-by: Mika Kuoppala <mika.kuoppala at intel.com>
> 
> Do we have the igt for this already somewhere? I've merged the prep patch
> meanwhile.

I have a bunch of igt that use this for hangcheck races. Patches were
posted around the same time and you were happy enough with them.
-Chris

-- 
Chris Wilson, Intel Open Source Technology Centre


More information about the Intel-gfx mailing list