Re: [Intel-gfx] [PATCH 14/18] drm/i915: Create a unique name for the context

2016-09-19 Thread Joonas Lahtinen
On ke, 2016-09-14 at 07:52 +0100, Chris Wilson wrote: > @@ -310,12 +311,21 @@ __create_hw_context(struct drm_device *dev, >   goto err_out; >   } else >   ret = DEFAULT_CONTEXT_HANDLE; Confusing indent, so add braces to above else and a newline here.

[Intel-gfx] [PATCH 14/18] drm/i915: Create a unique name for the context

2016-09-14 Thread Chris Wilson
This will be used for communicating issues with this context to userspace, so we want to identify the parent process and the individual context. Note that the name isn't quite unique, it makes the presumption of there only being a single device fd per process. Signed-off-by: Chris Wilson