kdrv_fb_mgr_next_inf 回傳非預期的address

kdrv_fb_mgr 將write_done_idx 初始化為 -1, 當kdrv_fb_mgr_write_done尚未被kdrv_dpi2ahb_irqhandler呼叫之前, 使用kdrv_fb_mgr_next_inf 將回傳buf_addr[-1] , 得到非預期的address. 呼叫kdrv_fb_mgr_next_inf前應該先確認, kdrv_fb_mgr_get_current_buf_seq_num回傳大於0, 確保write_done_idx大於等於0


Tagged:

Comments

  • Hi Yixing

    這題在 camera 如有非預期的錯誤(例如硬件沒接好),會有情況產生此非預期的錯誤。

    解決方式可使用您描述的方式做卡控。

    官方修正,會在內部驗證無誤後 釋出。感謝。

The discussion has been closed due to inactivity. To continue with the topic, please feel free to post a new discussion.