aboutsummaryrefslogtreecommitdiff
path: root/tools/lib/api/debug.c
diff options
context:
space:
mode:
authorPandiyan, Dhinakaran <[email protected]>2017-04-20 22:51:31 -0700
committerMaarten Lankhorst <[email protected]>2017-05-04 15:02:46 +0200
commit3f3353b7e1218d208507bc52688cacb4ff893c28 (patch)
tree9b2a15c0805f4e384885afcc6d58e819580ed505 /tools/lib/api/debug.c
parentb430c27a7de3ccfb51b7e07b2dceba981df279ef (diff)
drm/dp: Introduce MST topology state to track available link bandwidth
Link bandwidth is shared between multiple display streams in DP MST configurations. The DP MST topology manager structure maintains the shared link bandwidth for a primary link directly connected to the GPU. For atomic modesetting drivers, checking if there is sufficient link bandwidth for a mode needs to be done during the atomic_check phase to avoid failed modesets. Let's encapsulate the available link bw information in a private state structure so that bw can be allocated and released atomically for each of the ports sharing the primary link. v3: WARN_ON() if connection_mutex is not held (Archit) v2: Included kernel doc, moved state initialization and switched to kmemdup() for allocation (Daniel) 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]> Reviewed-by: Maarten Lankhorst <[email protected]> Reviewed-by: Harry Wentland <[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