aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/scripting-engines/trace-event-python.c
diff options
context:
space:
mode:
authorJose Abreu <[email protected]>2017-05-25 15:19:15 +0100
committerDaniel Vetter <[email protected]>2017-05-30 08:37:50 +0200
commit97f973d652602425f4dc31a13e8605d5841afe25 (patch)
treeb5ec58ee1a605b88773f0b35cff679456b61bf4c /tools/perf/util/scripting-engines/trace-event-python.c
parentb1240f81a1865670e44d25593e47c2023a20ab62 (diff)
drm: Use new mode_valid() helpers in connector probe helper
This changes the connector probe helper function to use the new encoder->mode_valid(), bridge->mode_valid() and crtc->mode_valid() helper callbacks to validate the modes. The new callbacks are optional so the behaviour remains the same if they are not implemented. If they are, then the code loops through all the connector's encodersXbridgesXcrtcs and calls the callback. If at least a valid encoderXbridgeXcrtc combination is found which accepts the mode then the function returns MODE_OK. Signed-off-by: Jose Abreu <[email protected]> Reviewed-by: Daniel Vetter <[email protected]> Cc: Carlos Palminha <[email protected]> Cc: Dave Airlie <[email protected]> Cc: Andrzej Hajda <[email protected]> Cc: Laurent Pinchart <[email protected]> Changes v3->v4: - Change function name (Laurent) Changes v2->v3: - Call also bridge->mode_valid (Daniel) Changes v1->v2: - Use new helpers suggested by Ville - Change documentation (Daniel) Signed-off-by: Daniel Vetter <[email protected]> Link: http://patchwork.freedesktop.org/patch/msgid/d4e3ba87d822fa92f1b8773e441b9a02af3bde71.1495720737.git.joabreu@synopsys.com
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions