aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c
diff options
context:
space:
mode:
authorVille Syrjälä <[email protected]>2015-09-30 13:46:48 +0000
committerDaniel Vetter <[email protected]>2015-10-07 14:13:52 +0000
commitb44f84081b8db1b5830cbd30280ba1109cc1a084 (patch)
treebaf40d757f406812e9b2d624bf8bccf00845ac5c /drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c
parentdrm/irq: Use unsigned int pipe in public API (diff)
downloadkernel-b44f84081b8db1b5830cbd30280ba1109cc1a084.tar.gz
kernel-b44f84081b8db1b5830cbd30280ba1109cc1a084.zip
drm: Stop using drm_vblank_count() as the hw frame counter
drm_vblank_count() returns the software counter. We should not pretend it's the hw counter since we use the hw counter to figuere out what the software counter value should be. So instead provide a new function drm_vblank_no_hw_counter() for drivers that don't have a real hw counter. The new function simply returns 0, which is about the only thing it can do. Cc: Vincent Abriou <[email protected]> Cc: Thierry Reding <[email protected]> Signed-off-by: Ville Syrjälä <[email protected]> Reviewed-by: Vincent Abriou <[email protected]> [danvet: s/int pipe/unsigned int pipe/ to follow Thierry's interface change.] Signed-off-by: Daniel Vetter <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c')
0 files changed, 0 insertions, 0 deletions