On Mon, Apr 18, 2016 at 02:48:21PM +0300, Imre Deak wrote: > While we disable runtime PM and with that display power well support if > the DMC firmware isn't loaded, we still want to disable power wells > during system suspend and driver unload. So drop/reacquire the > corresponding power refcount during suspend/resume and driver unloading. > This also means we have to check if DMC is not loaded and skip enabling > DC states in the power well code. > > v2: > - Reuse intel_csr_ucode_suspend() in intel_csr_ucode_fini() instead of > opencoding the former. (Chris) > - Add docbook comment to the public resume and suspend functions. > > CC: Chris Wilson <chris@xxxxxxxxxxxxxxxxxx> > Signed-off-by: Imre Deak <imre.deak@xxxxxxxxx> Makes sense to me (I'm will say I am not that familiar with CSR though) Reviewed-by: Chris Wilson <chris@xxxxxxxxxxxxxxxxxx> -Chris -- Chris Wilson, Intel Open Source Technology Centre _______________________________________________ Intel-gfx mailing list Intel-gfx@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/intel-gfx