]> git.baikalelectronics.ru Git - kernel.git/commit
drm/radeon/kms: rework radeon_dp_detect() logic
authorAlex Deucher <alexdeucher@gmail.com>
Thu, 19 Aug 2010 21:29:03 +0000 (17:29 -0400)
committerDave Airlie <airlied@redhat.com>
Thu, 19 Aug 2010 22:47:08 +0000 (08:47 +1000)
commit4cf683b234f32598e8caedf5bfc28723a7e3112d
treedd3e8349302b4803aa9596cca3a5d4a6e07caea6
parent6a072342a79a5a879a7eee650cd8e161f3a2da2a
drm/radeon/kms: rework radeon_dp_detect() logic

If the connector is eDP, it can only be DP, not TMDS.
Always set the detected sink type.  If the sink is
detected as non-DP, but there is no EDID, you can still
manually force the port on.  If the sink type is DP
and there's no DPCD, there's no way to force the monitor
on since you need both ends to train the link.

Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/radeon/radeon_connectors.c