diff options
| author | Pandiyan, Dhinakaran <[email protected]> | 2017-04-28 16:14:20 -0700 |
|---|---|---|
| committer | Maarten Lankhorst <[email protected]> | 2017-05-04 15:02:48 +0200 |
| commit | f424f55e31779bdc2389db9115fca65c553f8558 (patch) | |
| tree | 7a92890b6a4fb676a910a758cdeae5abbfa960d7 /tools/lib/api/debug.c | |
| parent | edb1ed1ab7d314e114de84003f763da34c0f34c0 (diff) | |
drm/i915: Track MST link bandwidth
Use the added helpers to track MST link bandwidth for atomic modesets.
Link bw is acquired in the ->atomic_check() phase when CRTCs are being
enabled with drm_atomic_find_vcpi_slots(). Similarly, link bw is released
during ->atomic_check() with the connector helper callback ->atomic_check()
when CRTCs are disabled.
v6: active_changed does not alter vcpi allocations (Maarten)
v5: Implement connector->atomic_check() in place of atomic_release()
v4: Return an int from intel_dp_mst_atomic_release() (Maarten)
v3:
Handled the case where ->atomic_release() is called more than once
during an atomic_check() for the same state.
v2:
Squashed atomic_release() implementation and caller (Daniel)
Fixed logic for connector-crtc switching case (Daniel)
Fixed logic for suspend-resume case.
Cc: Daniel Vetter <[email protected]>
Cc: Maarten Lankhorst <[email protected]>
Cc: Archit Taneja <[email protected]>
Cc: Chris Wilson <[email protected]>
Cc: Harry Wentland <[email protected]>
Acked-by: Harry Wentland <[email protected]>
Reviewed-by: Maarten Lankhorst <[email protected]>
Signed-off-by: Dhinakaran Pandiyan <[email protected]>
Signed-off-by: Maarten Lankhorst <[email protected]>
Link: http://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/lib/api/debug.c')
0 files changed, 0 insertions, 0 deletions