Re: [Intel-gfx] [PATCH v2 2/2] drm/i915/bxt, glk: Avoid long atomic poll during CDCLK change

2018-01-30 Thread Chris Wilson
Quoting Imre Deak (2018-01-30 14:29:39) > There is no requirement for doing the PCODE request polling atomically, > so do that only for a short time switching to sleeping poll afterwards. > The specification requires a 150usec timeout for the change notification, > so let's use that for the atomic

[Intel-gfx] [PATCH v2 2/2] drm/i915/bxt, glk: Avoid long atomic poll during CDCLK change

2018-01-30 Thread Imre Deak
There is no requirement for doing the PCODE request polling atomically, so do that only for a short time switching to sleeping poll afterwards. The specification requires a 150usec timeout for the change notification, so let's use that for the atomic poll. Do the extra 2ms poll - needed as a