Re: [PATCH] drm/i915: Sync the hotplug work when device suspending

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




> -----Original Message-----
> From: Chris Wilson [mailto:chris@xxxxxxxxxxxxxxxxxx]
> Sent: Saturday, July 27, 2013 5:40 PM
> To: Liu, Chuansheng
> Cc: daniel.vetter@xxxxxxxx; airlied@xxxxxxxx; intel-gfx@xxxxxxxxxxxxxxxxxxxxx; Li,
> Fei; dri-devel@xxxxxxxxxxxxxxxxxxxxx
> Subject: Re:  [PATCH] drm/i915: Sync the hotplug work when device
> suspending
> 
> On Sun, Jul 28, 2013 at 01:43:02AM +0800, Chuansheng Liu wrote:
> >
> > It is possible that during i915 device suspending with one pending
> > hotplug work, one of cases is the device resume/suspend quickly.
> >
> > At this case, the hotplug work will be executed even after device
> > is OFF, in Intel Android platform, it will cause system hang.
> 
> See
> 
>   1343070574-23917-1-git-send-email-chris@xxxxxxxxxxxxxxxxxx
>   http://lists.freedesktop.org/archives/intel-gfx/2012-July/019144.html
Sorry to not know this thread before, and it seems it did not be included into upstream.
Moreover, in current upstream code the rps_work has been synced in intel_disable_gt_powersave().

So, is it possible to consider my patch based on current upstream code? Thanks.

> 
> which is in response to the bug raised here
> 
>   s5hlilr4s9h.wl%tiwai@xxxxxxx
>   http://lists.freedesktop.org/archives/intel-gfx/2012-April/016738.html
> -Chris
> 
> --
> Chris Wilson, Intel Open Source Technology Centre
_______________________________________________
Intel-gfx mailing list
Intel-gfx@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/intel-gfx




[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]
  Powered by Linux