aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_atpx_handler.c
diff options
context:
space:
mode:
authorVille Syrjälä <[email protected]>2015-09-14 19:43:49 +0000
committerDaniel Vetter <[email protected]>2015-09-24 18:14:23 +0000
commitad1716ecca9d9099199cfc9278672c17d1484c75 (patch)
tree5ade3e96dcc54ee9d2fae0c42f6f7fdca620afa5 /drivers/gpu/drm/amd/amdgpu/amdgpu_atpx_handler.c
parentdrm: Limit the number of .get_vblank_counter() retries (diff)
downloadkernel-ad1716ecca9d9099199cfc9278672c17d1484c75.tar.gz
kernel-ad1716ecca9d9099199cfc9278672c17d1484c75.zip
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ä <[email protected]> Reviewed-by: Maarten Lankhorst <[email protected]> Signed-off-by: Daniel Vetter <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_atpx_handler.c')
0 files changed, 0 insertions, 0 deletions