Re: [Intel-gfx] [PATCH] drm/i915/oa: Check that OA is disabled before unpinning

2018-06-11 Thread Joonas Lahtinen
Quoting Lionel Landwerlin (2018-05-17 13:29:56) > On 17/05/18 11:21, Chris Wilson wrote: > > Quoting Lionel Landwerlin (2018-05-17 11:18:16) > >> This should be sent to stable right? > > Yeah, my bad for not digging out the relevant Fixes: +cc Joonas for > > the next batch. -Chris > > I should ha

Re: [Intel-gfx] [PATCH] drm/i915/oa: Check that OA is disabled before unpinning

2018-05-17 Thread Lionel Landwerlin
On 17/05/18 11:21, Chris Wilson wrote: Quoting Lionel Landwerlin (2018-05-17 11:18:16) This should be sent to stable right? Yeah, my bad for not digging out the relevant Fixes: +cc Joonas for the next batch. -Chris I should have looked at it too. Was just in shock ;) For Haswell: Fixes: d796

Re: [Intel-gfx] [PATCH] drm/i915/oa: Check that OA is disabled before unpinning

2018-05-17 Thread Chris Wilson
Quoting Lionel Landwerlin (2018-05-17 11:18:16) > This should be sent to stable right? Yeah, my bad for not digging out the relevant Fixes: +cc Joonas for the next batch. -Chris ___ Intel-gfx mailing list Intel-gfx@lists.freedesktop.org https://lists.fr

Re: [Intel-gfx] [PATCH] drm/i915/oa: Check that OA is disabled before unpinning

2018-05-17 Thread Lionel Landwerlin
This should be sent to stable right? - Lionel On 11/05/18 14:52, Chris Wilson wrote: Before we unpin the buffer used for OA reports and return it to the system, we need to be sure that the HW has finished writing into it. For lack of a better idea, poll OACONTROL to check it is switched off. R

Re: [Intel-gfx] [PATCH] drm/i915/oa: Check that OA is disabled before unpinning

2018-05-11 Thread Chris Wilson
Quoting Lionel Landwerlin (2018-05-11 17:10:49) > On 11/05/18 15:11, Lionel Landwerlin wrote: > > On 11/05/18 14:52, Chris Wilson wrote: > >> Before we unpin the buffer used for OA reports and return it to the > >> system, we need to be sure that the HW has finished writing into it. > >> For lack o

Re: [Intel-gfx] [PATCH] drm/i915/oa: Check that OA is disabled before unpinning

2018-05-11 Thread Lionel Landwerlin
On 11/05/18 15:11, Lionel Landwerlin wrote: On 11/05/18 14:52, Chris Wilson wrote: Before we unpin the buffer used for OA reports and return it to the system, we need to be sure that the HW has finished writing into it. For lack of a better idea, poll OACONTROL to check it is switched off. Refe

Re: [Intel-gfx] [PATCH] drm/i915/oa: Check that OA is disabled before unpinning

2018-05-11 Thread Lionel Landwerlin
On 11/05/18 14:52, Chris Wilson wrote: Before we unpin the buffer used for OA reports and return it to the system, we need to be sure that the HW has finished writing into it. For lack of a better idea, poll OACONTROL to check it is switched off. References: https://bugs.freedesktop.org/show_bug

[Intel-gfx] [PATCH] drm/i915/oa: Check that OA is disabled before unpinning

2018-05-11 Thread Chris Wilson
Before we unpin the buffer used for OA reports and return it to the system, we need to be sure that the HW has finished writing into it. For lack of a better idea, poll OACONTROL to check it is switched off. References: https://bugs.freedesktop.org/show_bug.cgi?id=106379 Signed-off-by: Chris Wilso