提交 c462c2f5 编写于 作者: V Vincent Abriou

drm/sti: debug fps reset

Reset the fps debug information when 'fps_show' is updated.
Signed-off-by: NFabien Dessenne <fabien.dessenne@st.com>
上级 97d7c576
......@@ -58,7 +58,9 @@ static int sti_drm_fps_set(void *data, u64 val)
list_for_each_entry(p, &drm_dev->mode_config.plane_list, head) {
struct sti_plane *plane = to_sti_plane(p);
memset(&plane->fps_info, 0, sizeof(plane->fps_info));
plane->fps_info.output = (val >> i) & 1;
i++;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册