mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-20 02:34:23 +08:00
b44f84081b
drm_vblank_count() returns the software counter. We should not pretend it's the hw counter since we use the hw counter to figuere out what the software counter value should be. So instead provide a new function drm_vblank_no_hw_counter() for drivers that don't have a real hw counter. The new function simply returns 0, which is about the only thing it can do. Cc: Vincent Abriou <vincent.abriou@st.com> Cc: Thierry Reding <treding@nvidia.com> Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com> Reviewed-by: Vincent Abriou <vincent.abriou@st.com> [danvet: s/int pipe/unsigned int pipe/ to follow Thierry's interface change.] Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch> |
||
---|---|---|
.. | ||
Kconfig | ||
Makefile | ||
tilcdc_crtc.c | ||
tilcdc_drv.c | ||
tilcdc_drv.h | ||
tilcdc_external.c | ||
tilcdc_external.h | ||
tilcdc_panel.c | ||
tilcdc_panel.h | ||
tilcdc_regs.h | ||
tilcdc_slave_compat.c | ||
tilcdc_slave_compat.dts | ||
tilcdc_slave_compat.h | ||
tilcdc_tfp410.c | ||
tilcdc_tfp410.h |