Re: [Intel-gfx] [PATCH 3/3] drm/i915: fix infinite loop at gen6_update_ring_freq

2014-04-02 Thread Daniel Vetter
On Tue, Apr 01, 2014 at 07:39:49PM -0300, Paulo Zanoni wrote: > From: Paulo Zanoni > > If I boot my Broadwell machine to X on a system with Mesa Gallium > llvmpipe instead of i965, then kill X and try to run pm_pc8.c, when we > disable PC8 and call gen6_update_ring_freq(), we will get stuck on an

Re: [Intel-gfx] [PATCH 3/3] drm/i915: fix infinite loop at gen6_update_ring_freq

2014-04-01 Thread Ben Widawsky
On Tue, Apr 01, 2014 at 07:39:49PM -0300, Paulo Zanoni wrote: > From: Paulo Zanoni > > If I boot my Broadwell machine to X on a system with Mesa Gallium > llvmpipe instead of i965, then kill X and try to run pm_pc8.c, when we > disable PC8 and call gen6_update_ring_freq(), we will get stuck on an

[Intel-gfx] [PATCH 3/3] drm/i915: fix infinite loop at gen6_update_ring_freq

2014-04-01 Thread Paulo Zanoni
From: Paulo Zanoni If I boot my Broadwell machine to X on a system with Mesa Gallium llvmpipe instead of i965, then kill X and try to run pm_pc8.c, when we disable PC8 and call gen6_update_ring_freq(), we will get stuck on an infinite loop because the frequencies are zero and the variables are un