video/goldfish: Remove the vsync residual code
forget from patch:
commit bbf5b0bb6d
Author: jianglianfang <jianglianfang@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 <xiaoxiang@xiaomi.com>
This commit is contained in:
parent
a2da12a67e
commit
ee3d2d1c0d
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user