diff options
author | Dhinakaran Pandiyan <[email protected]> | 2018-02-02 21:12:59 -0800 |
---|---|---|
committer | Rodrigo Vivi <[email protected]> | 2018-02-15 11:49:57 -0800 |
commit | f4c0468e4bd64b7cd00e2db309925728fc72bf8b (patch) | |
tree | 85cb8e6e8cdf11ecca4f0e3699d30d2d5e6618a9 /tools/perf/scripts/python/failed-syscalls-by-pid.py | |
parent | 3abe241337993a1e358a67427518af0162c4b769 (diff) |
drm/atomic: Handle 64-bit return from drm_crtc_vblank_count()
570e86963a51 ("drm: Widen vblank count to 64-bits [v3]") changed the
return type for drm_crtc_vblank_count() to u64.
The flip ioctl receives a 32-bit target sequence from user space and is
compared against the current sequence from drm_crtc_vblank_count(). So,
typecast return from drm_crtc_vblank_count() explicitly to add clarity.
__drm_crtcs_state.last_vblank_count however only ever stores the value from
drm_crtc_vblank_count() and can be upgraded to u64.
Cc: Keith Packard <[email protected]>
Cc: Rodrigo Vivi <[email protected]>
Signed-off-by: Dhinakaran Pandiyan <[email protected]>
Reviewed-by: Keith Packard <[email protected]>
Signed-off-by: Rodrigo Vivi <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/failed-syscalls-by-pid.py')
0 files changed, 0 insertions, 0 deletions