“f541d270dbce375b7bd8cef466bdaf0cff945b45”上不存在“git@gitcode.net:openharmony/kernel_linux.git”
提交 48627eb8 编写于 作者: E Eric Anholt

drm/vc4: Fix a framebuffer reference leak on async flip interrupt.

We'd need X to queue up an async pageflip while another is
outstanding, and then take a SIGIO.  I think X actually avoids sending
out the next pageflip while one's already queued, but I'm not sure.
Signed-off-by: NEric Anholt <eric@anholt.net>
上级 81f70ba2
无相关合并请求
......@@ -544,6 +544,7 @@ static int vc4_async_page_flip(struct drm_crtc *crtc,
/* Make sure all other async modesetes have landed. */
ret = down_interruptible(&vc4->async_modeset);
if (ret) {
drm_framebuffer_unreference(fb);
kfree(flip_state);
return ret;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册
反馈
建议
客服 返回
顶部