[focal:linux-azure][PATCH 1/1] Revert "video: hyperv_fb: Fix hibernation for the deferred IO feature"

Thadeu Lima de Souza Cascardo cascardo at canonical.com
Mon Aug 17 19:26:27 UTC 2020


On Mon, Aug 17, 2020 at 04:21:12PM -0300, Marcelo Henrique Cerri wrote:
> BugLink: https://bugs.launchpad.net/bugs/1891931
> 
> This reverts commit 0a14dbaa0736a6021c02e74d42cf3a7ca5438da6.
> 

I would expect some explanation for the revert in the commit message. Can you
resent with some of the details from the cover letter? Or some description of
the issue that is seen and how this fixes it?

Cascardo.

> Signed-off-by: Marcelo Henrique Cerri <marcelo.cerri at canonical.com>
> ---
>  drivers/video/fbdev/hyperv_fb.c | 2 --
>  1 file changed, 2 deletions(-)
> 
> diff --git a/drivers/video/fbdev/hyperv_fb.c b/drivers/video/fbdev/hyperv_fb.c
> index 5017b4b20781..fe4731f97df7 100644
> --- a/drivers/video/fbdev/hyperv_fb.c
> +++ b/drivers/video/fbdev/hyperv_fb.c
> @@ -891,7 +891,6 @@ static int hvfb_suspend(struct hv_device *hdev)
>  	fb_set_suspend(info, 1);
>  
>  	cancel_delayed_work_sync(&par->dwork);
> -	cancel_delayed_work_sync(&info->deferred_work);
>  
>  	par->update_saved = par->update;
>  	par->update = false;
> @@ -925,7 +924,6 @@ static int hvfb_resume(struct hv_device *hdev)
>  	par->fb_ready = true;
>  	par->update = par->update_saved;
>  
> -	schedule_delayed_work(&info->deferred_work, info->fbdefio->delay);
>  	schedule_delayed_work(&par->dwork, HVFB_UPDATE_DELAY);
>  
>  	/* 0 means do resume */
> -- 
> 2.25.1
> 
> 
> -- 
> kernel-team mailing list
> kernel-team at lists.ubuntu.com
> https://lists.ubuntu.com/mailman/listinfo/kernel-team



More information about the kernel-team mailing list