]> git.baikalelectronics.ru Git - kernel.git/commit
drm/dp/mst: split connector registration into two parts (v2)
authorDave Airlie <airlied@redhat.com>
Wed, 16 Sep 2015 07:55:23 +0000 (17:55 +1000)
committerDave Airlie <airlied@redhat.com>
Fri, 2 Oct 2015 05:34:41 +0000 (15:34 +1000)
commitd1fad81b52cdcf7e212ef6ac1a6b72f8efef6081
treefc0f8cb6098aa942f4dfe6749fb8c55b34161a34
parenta33047a3a6c58591309f9ace9ac89c43a6122aea
drm/dp/mst: split connector registration into two parts (v2)

In order to cache the EDID properly for tiled displays, we
need to retrieve it before we register the connector with
userspace, otherwise userspace can call get resources
and try and get the edid before we've even cached it.

This fixes some problems when hotplugging mst monitors,
with X/mutter running. As mutter seems to get 0 modes
for one of the monitors in the tile.

v2: fix warning in radeon
handle tile setting in cached path rather than
get edid path.

Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Cc: stable@vger.kernel.org
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/drm_dp_mst_topology.c
drivers/gpu/drm/i915/intel_dp_mst.c
drivers/gpu/drm/radeon/radeon_dp_mst.c
include/drm/drm_dp_mst_helper.h