Re: [PATCH 7/7] drm/i915/guc: handle interrupts from media GuC

2022-09-28 Thread Ceraolo Spurio, Daniele
On 9/28/2022 11:07 AM, Matt Roper wrote: On Tue, Sep 27, 2022 at 05:22:41PM -0700, Ceraolo Spurio, Daniele wrote: On 9/27/2022 5:10 PM, Matt Roper wrote: On Thu, Sep 22, 2022 at 03:11:17PM -0700, Daniele Ceraolo Spurio wrote: The render and media GuCs share the same interrupt enable

Re: [PATCH 7/7] drm/i915/guc: handle interrupts from media GuC

2022-09-28 Thread Matt Roper
On Tue, Sep 27, 2022 at 05:22:41PM -0700, Ceraolo Spurio, Daniele wrote: > > > On 9/27/2022 5:10 PM, Matt Roper wrote: > > On Thu, Sep 22, 2022 at 03:11:17PM -0700, Daniele Ceraolo Spurio wrote: > > > The render and media GuCs share the same interrupt enable register, so > > > we can no longer

Re: [PATCH 7/7] drm/i915/guc: handle interrupts from media GuC

2022-09-27 Thread Ceraolo Spurio, Daniele
On 9/27/2022 5:10 PM, Matt Roper wrote: On Thu, Sep 22, 2022 at 03:11:17PM -0700, Daniele Ceraolo Spurio wrote: The render and media GuCs share the same interrupt enable register, so we can no longer disable interrupts when we disable communication for one of the GuCs as this would impact

Re: [PATCH 7/7] drm/i915/guc: handle interrupts from media GuC

2022-09-27 Thread Matt Roper
On Thu, Sep 22, 2022 at 03:11:17PM -0700, Daniele Ceraolo Spurio wrote: > The render and media GuCs share the same interrupt enable register, so > we can no longer disable interrupts when we disable communication for > one of the GuCs as this would impact the other GuC. Instead, we keep the >

[PATCH 7/7] drm/i915/guc: handle interrupts from media GuC

2022-09-22 Thread Daniele Ceraolo Spurio
The render and media GuCs share the same interrupt enable register, so we can no longer disable interrupts when we disable communication for one of the GuCs as this would impact the other GuC. Instead, we keep the interrupts always enabled in HW and use a variable in the GuC structure to determine