This is an automated email from the ASF dual-hosted git repository.

ligd pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/nuttx.git


The following commit(s) were added to refs/heads/master by this push:
     new ee3d2d1c0d video/goldfish: Remove the vsync residual code
ee3d2d1c0d is described below

commit ee3d2d1c0da204705d1702e7164cc9e9e3d23c76
Author: Xiang Xiao <xiaoxi...@xiaomi.com>
AuthorDate: Tue Sep 26 06:13:59 2023 +0800

    video/goldfish: Remove the vsync residual code
    
    forget from patch:
    commit bbf5b0bb6d970da9fbe91f40c8640551a3ecd29c
    Author: jianglianfang <jianglianf...@xiaomi.com>
    Date:   Tue Aug 15 19:47:14 2023 +0800
    
        driver/video: adapting Goldfish FB to VSync optimized FB driver
    
        The circbuf part is implemented by the fb driver, and goldfish needs to
        delete the part related to circbuf and adapt to the interface of the fb
        driver.
    
    Signed-off-by: Xiang Xiao <xiaoxi...@xiaomi.com>
---
 drivers/video/goldfish_fb.c | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/drivers/video/goldfish_fb.c b/drivers/video/goldfish_fb.c
index 1f2b86f092..ce9d83749b 100644
--- a/drivers/video/goldfish_fb.c
+++ b/drivers/video/goldfish_fb.c
@@ -306,8 +306,6 @@ int up_fbinitialize(int display)
 err_irq_attach_failed:
   kmm_free(fb->planeinfo.fbmem);
 err_fbmem_alloc_failed:
-  circbuf_uninit(&fb->vsync);
-err_circbuf_alloc_failed:
   kmm_free(fb);
   return ret;
 }
@@ -332,7 +330,6 @@ void up_fbuninitialize(int display)
       FAR struct goldfish_fb_s *fb = g_goldfish_fb;
 
       irq_detach(fb->irq);
-      circbuf_uninit(&fb->vsync);
       kmm_free(fb->planeinfo.fbmem);
       kmm_free(fb);
       g_goldfish_fb = NULL;

Reply via email to