[Intel-gfx] [PATCH 3/5] drm/i915/guc: Move guc_{send, recv}() to intel_uc.c

2016-11-25 Thread Arkadiusz Hiler
guc_send(), guc_recv() and related functions were introduced in the i915_guc_submission.c and their scope was limited only to that file. Those are not submission specific though. This patch moves moves them to intel_uc.c with intel_ prefix added. v2: rename intel_guc_log_* functions and clean up

Re: [Intel-gfx] [PATCH 3/5] drm/i915/guc: Move guc_{send, recv}() to intel_uc.c

2016-11-25 Thread Chris Wilson
On Fri, Nov 25, 2016 at 11:23:19AM +, Chris Wilson wrote: > > +int intel_guc_logging_control(struct intel_guc *guc, u32 control_val) > > +{ > > + u32 data[2]; > > + > > + data[0] = INTEL_GUC_ACTION_UK_LOG_ENABLE_LOGGING; > > + data[1] = control_val; > > + > > + return intel_guc_send(guc

Re: [Intel-gfx] [PATCH 3/5] drm/i915/guc: Move guc_{send, recv}() to intel_uc.c

2016-11-25 Thread Chris Wilson
On Thu, Nov 24, 2016 at 05:13:21PM +0100, Arkadiusz Hiler wrote: > guc_send(), guc_recv() and related functions were introduced in the > i915_guc_submission.c and their scope was limited only to that file. > > Those are not submission specific though. > This patch moves moves them to intel_uc.c wi

[Intel-gfx] [PATCH 3/5] drm/i915/guc: Move guc_{send, recv}() to intel_uc.c

2016-11-24 Thread Arkadiusz Hiler
guc_send(), guc_recv() and related functions were introduced in the i915_guc_submission.c and their scope was limited only to that file. Those are not submission specific though. This patch moves moves them to intel_uc.c with intel_ prefix added. Cc: Chris Wilson Cc: Michal Winiarski Signed-off