diff options
author | Chris Wilson <[email protected]> | 2017-03-15 20:40:26 +0000 |
---|---|---|
committer | Daniel Vetter <[email protected]> | 2017-03-16 09:51:55 +0100 |
commit | 82c8e025b577a4b9b87fbbc2a1c4dd401e3a2521 (patch) | |
tree | 507c434aa676890602f23ae24ee158dbdf0c21a8 /scripts/gcc-plugins/cyc_complexity_plugin.c | |
parent | 608b20506941969ea30d8c08dc9ae02bb87dbf7d (diff) |
drm: Skip the waitqueue setup for vblank queries
Avoid adding to the waitqueue and reprobing the current vblank if the
caller is only querying the current vblank sequence and timestamp, where
we know that the wait would return immediately.
v2: Add CRTC identifier to debug messages
Signed-off-by: Chris Wilson <[email protected]>
Cc: Ville Syrjälä <[email protected]>
Cc: Daniel Vetter <[email protected]>
Cc: Michel Dänzer <[email protected]>
Cc: Laurent Pinchart <[email protected]>
Cc: Dave Airlie <[email protected]>,
Cc: Mario Kleiner <[email protected]>
Reviewed-by: Michel Dänzer <[email protected]>
Reviewed-and-tested-by: Mario Kleiner <[email protected]>
Signed-off-by: Daniel Vetter <[email protected]>
Link: http://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'scripts/gcc-plugins/cyc_complexity_plugin.c')
0 files changed, 0 insertions, 0 deletions