drm: Clean up drm_calc_vbltimestamp_from_scanoutpos() vbl_status
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Mon, 14 Sep 2015 19:43:49 +0000 (22:43 +0300)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Thu, 24 Sep 2015 18:14:23 +0000 (20:14 +0200)
commitad1716ecca9d9099199cfc9278672c17d1484c75
tree5ade3e96dcc54ee9d2fae0c42f6f7fdca620afa5
parentfacfb062e8c958f321c366c6ea3d98db899a4c6e
drm: Clean up drm_calc_vbltimestamp_from_scanoutpos() vbl_status

Avoid confusion and don't use 'vbl_status' as both the
.get_scanout_position() return value and the return value from
drm_calc_vbltimestamp_from_scanoutpos().

While at it make 'vbl_status' unsigned and print it as hex in the
debug prints since it's a bitmask.

Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Reviewed-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/drm_irq.c