]> git.baikalelectronics.ru Git - kernel.git/commit
drm/display/dp_mst: Fix confusing docs for drm_dp_atomic_release_time_slots()
authorLyude Paul <lyude@redhat.com>
Wed, 17 Aug 2022 19:38:34 +0000 (15:38 -0400)
committerLyude Paul <lyude@redhat.com>
Tue, 23 Aug 2022 20:53:36 +0000 (16:53 -0400)
commit4f05b099be79f87ac41a0194fc8a7e225240dd44
treefa0b00391427cfd5080639222a93f6c0dd6a9e0f
parent2e921022106fd177c016b06464c04d5e5569217b
drm/display/dp_mst: Fix confusing docs for drm_dp_atomic_release_time_slots()

For some reason we mention returning 0 if "slots have been added back to
drm_dp_mst_topology_state->avail_slots". This is totally misleading,
avail_slots is simply for figuring out the total number of slots available
in total on the topology and has no relation to the current payload
allocations.

So, let's get rid of that comment.

Signed-off-by: Lyude Paul <lyude@redhat.com>
Cc: Wayne Lin <Wayne.Lin@amd.com>
Cc: Ville Syrjälä <ville.syrjala@linux.intel.com>
Cc: Fangzhi Zuo <Jerry.Zuo@amd.com>
Cc: Jani Nikula <jani.nikula@intel.com>
Cc: Imre Deak <imre.deak@intel.com>
Cc: Daniel Vetter <daniel.vetter@ffwll.ch>
Cc: Sean Paul <sean@poorly.run>
Acked-by: Jani Nikula <jani.nikula@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20220817193847.557945-6-lyude@redhat.com
drivers/gpu/drm/display/drm_dp_mst_topology.c