summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/atmel-hlcdc
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2017-03-15 23:40:26 +0300
committerDaniel Vetter <daniel.vetter@ffwll.ch>2017-03-16 11:51:55 +0300
commit82c8e025b577a4b9b87fbbc2a1c4dd401e3a2521 (patch)
tree507c434aa676890602f23ae24ee158dbdf0c21a8 /drivers/gpu/drm/atmel-hlcdc
parent608b20506941969ea30d8c08dc9ae02bb87dbf7d (diff)
downloadlinux-82c8e025b577a4b9b87fbbc2a1c4dd401e3a2521.tar.xz
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 <chris@chris-wilson.co.uk> Cc: Ville Syrjälä <ville.syrjala@linux.intel.com> Cc: Daniel Vetter <daniel@ffwll.ch> Cc: Michel Dänzer <michel@daenzer.net> Cc: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Cc: Dave Airlie <airlied@redhat.com>, Cc: Mario Kleiner <mario.kleiner.de@gmail.com> Reviewed-by: Michel Dänzer <michel@daenzer.net> Reviewed-and-tested-by: Mario Kleiner <mario.kleiner.de@gmail.com> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch> Link: http://patchwork.freedesktop.org/patch/msgid/20170315204027.20160-2-chris@chris-wilson.co.uk
Diffstat (limited to 'drivers/gpu/drm/atmel-hlcdc')
0 files changed, 0 insertions, 0 deletions