Re: [Intel-gfx] [PATCH] drm/i915: Decrease pll->refcount when freeze gpu

2013-07-12 Thread Jesse Barnes
n be disabled when enable VT switchless ? > > Thanks > > -Original Message- > From: daniel.vet...@ffwll.ch [mailto:daniel.vet...@ffwll.ch] On Behalf Of > Daniel Vetter > Sent: Friday, July 12, 2013 1:32 AM > To: Jesse Barnes > Cc: Zhang, Xiong Y; intel-gfx > Subje

Re: [Intel-gfx] [PATCH] drm/i915: Decrease pll->refcount when freeze gpu

2013-07-12 Thread Zhang, Xiong Y
Thanks -Original Message- From: daniel.vet...@ffwll.ch [mailto:daniel.vet...@ffwll.ch] On Behalf Of Daniel Vetter Sent: Friday, July 12, 2013 1:32 AM To: Jesse Barnes Cc: Zhang, Xiong Y; intel-gfx Subject: Re: [Intel-gfx] [PATCH] drm/i915: Decrease pll->refcount when freeze gpu On Th

Re: [Intel-gfx] [PATCH] drm/i915: Decrease pll->refcount when freeze gpu

2013-07-11 Thread Daniel Vetter
On Thu, Jul 11, 2013 at 6:53 PM, Jesse Barnes wrote: > On Thu, 11 Jul 2013 16:02:27 +0800 > Xiong Zhang wrote: > >> display.crtc_mode_set will increase pll->refcount, but no one will >> decrease pll->refcount when freeze gpu. So when gpu resume from freeze, >> pll->refcount is still larger than z

Re: [Intel-gfx] [PATCH] drm/i915: Decrease pll->refcount when freeze gpu

2013-07-11 Thread Jesse Barnes
On Thu, 11 Jul 2013 16:02:27 +0800 Xiong Zhang wrote: > display.crtc_mode_set will increase pll->refcount, but no one will > decrease pll->refcount when freeze gpu. So when gpu resume from freeze, > pll->refcount is still larger than zero. This is abnormal > > Without this patch, connecting vga

[Intel-gfx] [PATCH] drm/i915: Decrease pll->refcount when freeze gpu

2013-07-11 Thread Xiong Zhang
display.crtc_mode_set will increase pll->refcount, but no one will decrease pll->refcount when freeze gpu. So when gpu resume from freeze, pll->refcount is still larger than zero. This is abnormal Without this patch, connecting vga screen on Haswell platform, there are following results: 1. when r