drm/dp: Kill unused MST vcpi slot availability tracking
authorPandiyan, Dhinakaran <dhinakaran.pandiyan@intel.com>
Thu, 16 Mar 2017 07:10:25 +0000 (00:10 -0700)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 22 Mar 2017 20:46:41 +0000 (21:46 +0100)
commitfeb2c3bc331576ed4e0bf9608966351b1bb9b622
tree2d15194cec7c63369396f786ab597113bf4e546d
parenta538d6137dffc5dc8082b9ebe9819c4106fa3f83
drm/dp: Kill unused MST vcpi slot availability tracking

The avail_slots member in the MST topology manager is never updated to
reflect the available vcpi slots. The check is effectively against
total slots, 63. So, let's make that check obvious and remove
avail_slots. While at it, make debug messages more descriptive.

Cc: Daniel Vetter <daniel.vetter@ffwll.ch>
Cc: Archit Taneja <architt@codeaurora.org>
Cc: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Cc: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Harry Wentland <Harry.wentland@amd.com>
Signed-off-by: Dhinakaran Pandiyan <dhinakaran.pandiyan@intel.com>
Reviewed-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: http://patchwork.freedesktop.org/patch/msgid/1489648231-30700-3-git-send-email-dhinakaran.pandiyan@intel.com
drivers/gpu/drm/drm_dp_mst_topology.c
include/drm/drm_dp_mst_helper.h