drm/i915/vblank: Make the vblank counter u64 -> u32 typecast explicit
authorDhinakaran Pandiyan <dhinakaran.pandiyan@intel.com>
Sat, 3 Feb 2018 05:12:54 +0000 (21:12 -0800)
committerRodrigo Vivi <rodrigo.vivi@intel.com>
Thu, 15 Feb 2018 19:48:30 +0000 (11:48 -0800)
commit734cbbf3e9234b9d6c1a71e1f3f85ed9c7f0e16b
tree80a40ff04252444ebbe2498ce16b1b786f915581
parent3b765c0b765d2cc03ef02276f1af2658a03b3ced
drm/i915/vblank: Make the vblank counter u64 -> u32 typecast explicit

Core returns a u64 vblank count and intel_crtc_get_vblank_counter()
expects a 32-bit value. Make the typecast explicit to add clarity.

Cc: Keith Packard <keithp@keithp.com>
Cc: Rodrigo Vivi <rodrigo.vivi@intel.com>
Signed-off-by: Dhinakaran Pandiyan <dhinakaran.pandiyan@intel.com>
Reviewed-by: Keith Packard <keithp@keithp.com>
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20180203051302.9974-2-dhinakaran.pandiyan@intel.com
drivers/gpu/drm/i915/intel_display.c