OpenCloudOS-Kernel/drivers/gpu/drm/shmobile
Ville Syrjälä b44f84081b drm: Stop using drm_vblank_count() as the hw frame counter
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>
2015-10-07 16:13:52 +02:00
..
Kconfig drm: Kconfig: Let all DRM_GEM_CMA_HELPER related macros depend on HAVE_DMA_ATTRS 2015-02-03 11:12:37 +10:00
Makefile drm: Renesas SH Mobile DRM driver 2012-09-18 12:28:22 +02:00
shmob_drm_backlight.c drm/shmob: Update copyright notice 2014-09-15 11:34:07 +03:00
shmob_drm_backlight.h drm/shmob: Update copyright notice 2014-09-15 11:34:07 +03:00
shmob_drm_crtc.c drm: Simplify drm_for_each_legacy_plane arguments 2015-07-22 16:25:45 +02:00
shmob_drm_crtc.h drm/shmob: Update copyright notice 2014-09-15 11:34:07 +03:00
shmob_drm_drv.c drm: Stop using drm_vblank_count() as the hw frame counter 2015-10-07 16:13:52 +02:00
shmob_drm_drv.h drm/shmob: Update copyright notice 2014-09-15 11:34:07 +03:00
shmob_drm_kms.c drm/shmob: Update copyright notice 2014-09-15 11:34:07 +03:00
shmob_drm_kms.h drm/shmob: Update copyright notice 2014-09-15 11:34:07 +03:00
shmob_drm_plane.c drm/shmob: Update copyright notice 2014-09-15 11:34:07 +03:00
shmob_drm_plane.h drm/shmob: Update copyright notice 2014-09-15 11:34:07 +03:00
shmob_drm_regs.h drm/shmob: Update copyright notice 2014-09-15 11:34:07 +03:00