Displaying 10 results from an estimated 10 matches for "ktime_to_timespec64".
2016 May 12
3
[Bug 1066] New: nfq_get_timestamp() not setting timeval struc
https://bugzilla.netfilter.org/show_bug.cgi?id=1066
Bug ID: 1066
Summary: nfq_get_timestamp() not setting timeval struc
Product: libnetfilter_queue
Version: unspecified
Hardware: x86_64
OS: Ubuntu
Status: NEW
Severity: normal
Priority: P5
Component: libnetfilter_queue
2020 Jan 10
2
[PATCH 03/23] drm/i915: Don't use struct drm_driver.get_scanout_position()
...de->crtc_clock);
> +
> + /* Subtract time delta from raw timestamp to get final
> + * vblank_time timestamp for end of vblank.
> + */
> + *vblank_time = ktime_sub_ns(etime, delta_ns);
> +
> + if (!drm_debug_enabled(DRM_UT_VBL))
> + return true;
> +
> + ts_etime = ktime_to_timespec64(etime);
> + ts_vblank_time = ktime_to_timespec64(*vblank_time);
> +
> + DRM_DEBUG_VBL("crtc %u : v p(%d,%d)@ %lld.%06ld -> %lld.%06ld [e %d us, %d rep]\n",
> + pipe, hpos, vpos,
> + (u64)ts_etime.tv_sec, ts_etime.tv_nsec / 1000,
> + (u64)ts_vblank...
2020 Jan 10
0
[PATCH 03/23] drm/i915: Don't use struct drm_driver.get_scanout_position()
...* (vpos * mode->crtc_htotal + hpos),
+ mode->crtc_clock);
+
+ /* Subtract time delta from raw timestamp to get final
+ * vblank_time timestamp for end of vblank.
+ */
+ *vblank_time = ktime_sub_ns(etime, delta_ns);
+
+ if (!drm_debug_enabled(DRM_UT_VBL))
+ return true;
+
+ ts_etime = ktime_to_timespec64(etime);
+ ts_vblank_time = ktime_to_timespec64(*vblank_time);
+
+ DRM_DEBUG_VBL("crtc %u : v p(%d,%d)@ %lld.%06ld -> %lld.%06ld [e %d us, %d rep]\n",
+ pipe, hpos, vpos,
+ (u64)ts_etime.tv_sec, ts_etime.tv_nsec / 1000,
+ (u64)ts_vblank_time.tv_sec, ts_vblank_time.t...
2020 Jan 10
0
[PATCH 03/23] drm/i915: Don't use struct drm_driver.get_scanout_position()
...+ /* Subtract time delta from raw timestamp to get final
>> + * vblank_time timestamp for end of vblank.
>> + */
>> + *vblank_time = ktime_sub_ns(etime, delta_ns);
>> +
>> + if (!drm_debug_enabled(DRM_UT_VBL))
>> + return true;
>> +
>> + ts_etime = ktime_to_timespec64(etime);
>> + ts_vblank_time = ktime_to_timespec64(*vblank_time);
>> +
>> + DRM_DEBUG_VBL("crtc %u : v p(%d,%d)@ %lld.%06ld -> %lld.%06ld [e %d us, %d rep]\n",
>> + pipe, hpos, vpos,
>> + (u64)ts_etime.tv_sec, ts_etime.tv_nsec / 1000,
>>...
2020 Jan 10
1
[PATCH 03/23] drm/i915: Don't use struct drm_driver.get_scanout_position()
...w timestamp to get final
>>> + * vblank_time timestamp for end of vblank.
>>> + */
>>> + *vblank_time = ktime_sub_ns(etime, delta_ns);
>>> +
>>> + if (!drm_debug_enabled(DRM_UT_VBL))
>>> + return true;
>>> +
>>> + ts_etime = ktime_to_timespec64(etime);
>>> + ts_vblank_time = ktime_to_timespec64(*vblank_time);
>>> +
>>> + DRM_DEBUG_VBL("crtc %u : v p(%d,%d)@ %lld.%06ld -> %lld.%06ld [e %d us, %d rep]\n",
>>> + pipe, hpos, vpos,
>>> + (u64)ts_etime.tv_sec, ts_etime.tv_n...
2020 Jan 15
2
[Intel-gfx] [PATCH v2 03/21] drm: Add get_vblank_timestamp() to struct drm_crtc_funcs
...de->crtc_clock);
> +
> + /* Subtract time delta from raw timestamp to get final
> + * vblank_time timestamp for end of vblank.
> + */
> + *vblank_time = ktime_sub_ns(etime, delta_ns);
> +
> + if (!drm_debug_enabled(DRM_UT_VBL))
> + return true;
> +
> + ts_etime = ktime_to_timespec64(etime);
> + ts_vblank_time = ktime_to_timespec64(*vblank_time);
> +
> + DRM_DEBUG_VBL("crtc %u : v p(%d,%d)@ %lld.%06ld -> %lld.%06ld [e %d us, %d rep]\n",
> + pipe, hpos, vpos,
> + (u64)ts_etime.tv_sec, ts_etime.tv_nsec / 1000,
> + (u64)ts_vblank...
2020 Jan 15
0
[PATCH v2 03/21] drm: Add get_vblank_timestamp() to struct drm_crtc_funcs
...* (vpos * mode->crtc_htotal + hpos),
+ mode->crtc_clock);
+
+ /* Subtract time delta from raw timestamp to get final
+ * vblank_time timestamp for end of vblank.
+ */
+ *vblank_time = ktime_sub_ns(etime, delta_ns);
+
+ if (!drm_debug_enabled(DRM_UT_VBL))
+ return true;
+
+ ts_etime = ktime_to_timespec64(etime);
+ ts_vblank_time = ktime_to_timespec64(*vblank_time);
+
+ DRM_DEBUG_VBL("crtc %u : v p(%d,%d)@ %lld.%06ld -> %lld.%06ld [e %d us, %d rep]\n",
+ pipe, hpos, vpos,
+ (u64)ts_etime.tv_sec, ts_etime.tv_nsec / 1000,
+ (u64)ts_vblank_time.tv_sec, ts_vblank_time.t...
2020 Jan 16
0
[Intel-gfx] [PATCH v2 03/21] drm: Add get_vblank_timestamp() to struct drm_crtc_funcs
...+ /* Subtract time delta from raw timestamp to get final
>> + * vblank_time timestamp for end of vblank.
>> + */
>> + *vblank_time = ktime_sub_ns(etime, delta_ns);
>> +
>> + if (!drm_debug_enabled(DRM_UT_VBL))
>> + return true;
>> +
>> + ts_etime = ktime_to_timespec64(etime);
>> + ts_vblank_time = ktime_to_timespec64(*vblank_time);
>> +
>> + DRM_DEBUG_VBL("crtc %u : v p(%d,%d)@ %lld.%06ld -> %lld.%06ld [e %d us, %d rep]\n",
>> + pipe, hpos, vpos,
>> + (u64)ts_etime.tv_sec, ts_etime.tv_nsec / 1000,
>>...
2020 Jan 15
26
[PATCH v2 00/21] drm: Clean up VBLANK callbacks in struct drm_driver
VBLANK handlers in struct drm_driver are deprecated. Only legacy,
non-KMS drivers are supposed to used them. DRM drivers with kernel
modesetting are supposed to use VBLANK callbacks of the CRTC
infrastructure.
This patchset converts all DRM drivers to CRTC VBLANK callbacks and
cleans up struct drm_driver. The remaining VBLANK callbacks in struct
drm_driver are only used by legacy drivers.
2020 Jan 10
36
[PATCH 00/23] drm: Clean up VBLANK callbacks in struct drm_driver
VBLANK handlers in struct drm_driver are deprecated. Only legacy,
non-KMS drivers are supposed to used them. DRM drivers with kernel
modesetting are supposed to use VBLANK callbacks of the CRTC
infrastructure.
This patchset converts all DRM drivers to CRTC VBLANK callbacks and
cleans up struct drm_driver. The remaining VBLANK callbacks in struct
drm_driver are only used by legacy drivers.