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

Mika Kuoppala mika.kuoppala at linux.intel.com
Wed Jan 7 06:13:25 PST 2015


Chris Wilson <chris at chris-wilson.co.uk> writes:

> 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.

On top of those I have additional stuff for tests/gem_reset_stats.

-Mika


More information about the Intel-gfx mailing list