OSDN Git Service

drm/dp/mst: change MST detection scheme
authorMykola Lysenko <Mykola.Lysenko@amd.com>
Fri, 22 Jan 2016 22:07:27 +0000 (17:07 -0500)
committerDave Airlie <airlied@redhat.com>
Fri, 5 Feb 2016 05:23:49 +0000 (15:23 +1000)
commitcfcfa086d43ced33e1099b9befb12f17fca102e1
tree15c539f333e67406ce3112156cc59c42f9221839
parenta9ebb3e46c7ef6112c0da466ef0954673ad36832
drm/dp/mst: change MST detection scheme

1. Get edid for all connected MST displays, not only on logical ports,
   in the same thread as MST topology detection is done:
     There are displays that have branches inside w/o logical ports.
     So in case another SST display connected downstream system can
     end-up in situation when 3 DOWN requests sent: two for
    ‘remote i2c read’ and one for ‘enum path resources’, making slots full.

2. Call notification callback in one place in the end of topology discovery/update:
     This is done to reduce number of events sent to userspace in case complex
     topology discovery is going, adding multiple number of connectors;

3. Remove notification callback call from short pulse interrupt processing function:
     This is done in order not to block interrupt processing function, in case any
     MST request will be made from it. Notification will be send from topology
     discovery/update work item.

Signed-off-by: Mykola Lysenko <Mykola.Lysenko@amd.com>
Reviewed-by: Harry Wentland <Harry.Wentland@amd.com>
Cc: stable@vger.kernel.org
Acked-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/drm_dp_mst_topology.c