@@ -1238,12 +1238,15 @@ void drm_crtc_vblank_on(struct drm_crtc *crtc)
1238
1238
EXPORT_SYMBOL (drm_crtc_vblank_on );
1239
1239
1240
1240
/**
1241
- * drm_vblank_restore - estimated vblanks using timestamps and update it.
1241
+ * drm_vblank_restore - estimate missed vblanks and update vblank count.
1242
+ * @dev: DRM device
1243
+ * @pipe: CRTC index
1242
1244
*
1243
1245
* Power manamement features can cause frame counter resets between vblank
1244
- * disable and enable. Drivers can then use this function in their
1245
- * &drm_crtc_funcs.enable_vblank implementation to estimate the vblanks since
1246
- * the last &drm_crtc_funcs.disable_vblank.
1246
+ * disable and enable. Drivers can use this function in their
1247
+ * &drm_crtc_funcs.enable_vblank implementation to estimate missed vblanks since
1248
+ * the last &drm_crtc_funcs.disable_vblank using timestamps and update the
1249
+ * vblank counter.
1247
1250
*
1248
1251
* This function is the legacy version of drm_crtc_vblank_restore().
1249
1252
*/
@@ -1284,11 +1287,14 @@ void drm_vblank_restore(struct drm_device *dev, unsigned int pipe)
1284
1287
EXPORT_SYMBOL (drm_vblank_restore );
1285
1288
1286
1289
/**
1287
- * drm_crtc_vblank_restore - estimate vblanks using timestamps and update it.
1290
+ * drm_crtc_vblank_restore - estimate missed vblanks and update vblank count.
1291
+ * @crtc: CRTC in question
1292
+ *
1288
1293
* Power manamement features can cause frame counter resets between vblank
1289
- * disable and enable. Drivers can then use this function in their
1290
- * &drm_crtc_funcs.enable_vblank implementation to estimate the vblanks since
1291
- * the last &drm_crtc_funcs.disable_vblank.
1294
+ * disable and enable. Drivers can use this function in their
1295
+ * &drm_crtc_funcs.enable_vblank implementation to estimate missed vblanks since
1296
+ * the last &drm_crtc_funcs.disable_vblank using timestamps and update the
1297
+ * vblank counter.
1292
1298
*/
1293
1299
void drm_crtc_vblank_restore (struct drm_crtc * crtc )
1294
1300
{
0 commit comments