diff options
author | Mario Kleiner <mario.kleiner.de@gmail.com> | 2015-05-04 06:29:47 +0200 |
---|---|---|
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2015-05-04 11:14:55 +0200 |
commit | 337eb43c8d0000fef80b88e43fee7752a84afab2 (patch) | |
tree | 236b1bf87d0c1b4718fa68ec11457729bde954f4 /drivers/gpu/drm/drm_atomic_helper.c | |
parent | drm: Zero out invalid vblank timestamp in drm_update_vblank_count. (v2) (diff) | |
download | linux-dev-337eb43c8d0000fef80b88e43fee7752a84afab2.tar.xz linux-dev-337eb43c8d0000fef80b88e43fee7752a84afab2.zip |
drm/qxl: Fix qxl_noop_get_vblank_counter()
This breaks under the vblank timestamp cleanup patch
by Daniel Vetter. Also it is pointless to return anything
but zero (or any other constant) if the function doesn't
actually query a hw vblank counter. The bogus return of
the current drm vblank counter via direct readout or via
drm_vblank_count() is found in many of the new kms drivers,
but it does exactly nothing different from returning any
arbitrary constant - it's a no operation.
Let's simply return 0 - Easy and fast.
Signed-off-by: Mario Kleiner <mario.kleiner.de@gmail.com>
Cc: Dave Airlie <airlied@redhat.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions