aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/trace-event-scripting.c
diff options
context:
space:
mode:
authorRussell King <[email protected]>2014-01-02 21:27:33 +0000
committerThierry Reding <[email protected]>2014-01-14 14:35:02 +0100
commitdb5f7a6e78303fd96dc87487d6976145f70ab84a (patch)
tree67e1794359724795088e92c4ded11fff46e58007 /tools/perf/util/trace-event-scripting.c
parentff5009ef8df87908a956412619e4f1bf1078ef5d (diff)
drm: provide a helper for the encoder possible_crtcs mask
The encoder possible_crtcs mask identifies which CRTCs can be bound to a particular encoder. Each bit from bit 0 defines an index in the list of CRTCs held in the DRM mode_config crtc_list. Rather than having drivers trying to track the position of their CRTCs in the list, expose the code which already exists for calculating the appropriate mask bit for a CRTC. Signed-off-by: Russell King <[email protected]> Reviewed-by: David Herrmann <[email protected]> Reviewed-by: Jani Nikula <[email protected]> [[email protected]: add drm_crtc_index(), move to core] Signed-off-by: Thierry Reding <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions