Re: [Intel-gfx] [PATCH] drm/i915/guc: Refactor the retrieval of guc_process_desc

2017-03-24 Thread Chris Wilson
On Fri, Mar 24, 2017 at 01:11:20PM +0100, Michał Winiarski wrote: > On Thu, Mar 23, 2017 at 11:00:00PM +, Chris Wilson wrote: > > Move the common "client->vaddr + client->proc_desc_offset" to its own > > function, __get_process_desc() to match the newly established pattern. > > > > Signed-off-

Re: [Intel-gfx] [PATCH] drm/i915/guc: Refactor the retrieval of guc_process_desc

2017-03-24 Thread Michał Winiarski
On Thu, Mar 23, 2017 at 11:00:00PM +, Chris Wilson wrote: > Move the common "client->vaddr + client->proc_desc_offset" to its own > function, __get_process_desc() to match the newly established pattern. > > Signed-off-by: Chris Wilson Reviewed-by: Michał Winiarski -Michał > --- > drivers

[Intel-gfx] [PATCH] drm/i915/guc: Refactor the retrieval of guc_process_desc

2017-03-23 Thread Chris Wilson
Move the common "client->vaddr + client->proc_desc_offset" to its own function, __get_process_desc() to match the newly established pattern. Signed-off-by: Chris Wilson --- drivers/gpu/drm/i915/i915_guc_submission.c | 24 +++- 1 file changed, 11 insertions(+), 13 deletions(-)