Re: [Intel-gfx] [PATCH 05/17] drm/i915: Support for GuC interrupts

2016-07-11 Thread Goel, Akash
On 7/11/2016 7:13 PM, Tvrtko Ursulin wrote: On 11/07/16 14:38, Goel, Akash wrote: On 7/11/2016 6:53 PM, Tvrtko Ursulin wrote: On 11/07/16 14:15, Goel, Akash wrote: On 7/11/2016 4:00 PM, Tvrtko Ursulin wrote: +static void gen9_guc_irq_handler(struct drm_i915_private *dev_priv, u32 gt_i

Re: [Intel-gfx] [PATCH 05/17] drm/i915: Support for GuC interrupts

2016-07-11 Thread Tvrtko Ursulin
On 11/07/16 14:38, Goel, Akash wrote: On 7/11/2016 6:53 PM, Tvrtko Ursulin wrote: On 11/07/16 14:15, Goel, Akash wrote: On 7/11/2016 4:00 PM, Tvrtko Ursulin wrote: +static void gen9_guc_irq_handler(struct drm_i915_private *dev_priv, u32 gt_iir) +{ +if (gt_iir & GEN9_GUC_TO_HOST_INT_E

Re: [Intel-gfx] [PATCH 05/17] drm/i915: Support for GuC interrupts

2016-07-11 Thread Goel, Akash
On 7/11/2016 6:53 PM, Tvrtko Ursulin wrote: On 11/07/16 14:15, Goel, Akash wrote: On 7/11/2016 4:00 PM, Tvrtko Ursulin wrote: +static void gen9_guc_irq_handler(struct drm_i915_private *dev_priv, u32 gt_iir) +{ +if (gt_iir & GEN9_GUC_TO_HOST_INT_EVENT) { +spin_lock(&dev_priv->

Re: [Intel-gfx] [PATCH 05/17] drm/i915: Support for GuC interrupts

2016-07-11 Thread Tvrtko Ursulin
On 11/07/16 14:15, Goel, Akash wrote: On 7/11/2016 4:00 PM, Tvrtko Ursulin wrote: On 10/07/16 14:41, akash.g...@intel.com wrote: From: Sagar Arun Kamble There are certain types of interrupts which Host can recieve from GuC. GuC ukernel sends an interrupt to Host for certain events, like for

Re: [Intel-gfx] [PATCH 05/17] drm/i915: Support for GuC interrupts

2016-07-11 Thread Goel, Akash
On 7/11/2016 4:00 PM, Tvrtko Ursulin wrote: On 10/07/16 14:41, akash.g...@intel.com wrote: From: Sagar Arun Kamble There are certain types of interrupts which Host can recieve from GuC. GuC ukernel sends an interrupt to Host for certain events, like for example retrieve/consume the logs gen

Re: [Intel-gfx] [PATCH 05/17] drm/i915: Support for GuC interrupts

2016-07-11 Thread Tvrtko Ursulin
On 10/07/16 14:41, akash.g...@intel.com wrote: From: Sagar Arun Kamble There are certain types of interrupts which Host can recieve from GuC. GuC ukernel sends an interrupt to Host for certain events, like for example retrieve/consume the logs generated by ukernel. This patch adds support to r

[Intel-gfx] [PATCH 05/17] drm/i915: Support for GuC interrupts

2016-07-10 Thread akash . goel
From: Sagar Arun Kamble There are certain types of interrupts which Host can recieve from GuC. GuC ukernel sends an interrupt to Host for certain events, like for example retrieve/consume the logs generated by ukernel. This patch adds support to receive interrupts from GuC but currently enables &