|
@@ -721,7 +721,7 @@ int drm_calc_vbltimestamp_from_scanoutpos(struct drm_device *dev, int crtc,
|
|
|
* within vblank area, counting down the number of lines until
|
|
|
* start of scanout.
|
|
|
*/
|
|
|
- invbl = vbl_status & DRM_SCANOUTPOS_INVBL;
|
|
|
+ invbl = vbl_status & DRM_SCANOUTPOS_IN_VBLANK;
|
|
|
|
|
|
/* Convert scanout position into elapsed time at raw_time query
|
|
|
* since start of scanout at first display scanline. delta_ns
|
|
@@ -751,7 +751,7 @@ int drm_calc_vbltimestamp_from_scanoutpos(struct drm_device *dev, int crtc,
|
|
|
|
|
|
vbl_status = DRM_VBLANKTIME_SCANOUTPOS_METHOD;
|
|
|
if (invbl)
|
|
|
- vbl_status |= DRM_VBLANKTIME_INVBL;
|
|
|
+ vbl_status |= DRM_VBLANKTIME_IN_VBLANK;
|
|
|
|
|
|
return vbl_status;
|
|
|
}
|