diff options
| author | Ville Syrjälä <[email protected]> | 2015-09-14 19:43:49 +0000 |
|---|---|---|
| committer | Daniel Vetter <[email protected]> | 2015-09-24 18:14:23 +0000 |
| commit | ad1716ecca9d9099199cfc9278672c17d1484c75 (patch) | |
| tree | 5ade3e96dcc54ee9d2fae0c42f6f7fdca620afa5 /drivers/gpu/drm/amd/amdgpu/amdgpu_atpx_handler.c | |
| parent | drm: Limit the number of .get_vblank_counter() retries (diff) | |
| download | kernel-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
