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)
commit6f50eae75b13e037e11f49128ea44a1a9a9535cb
treedd3e8349302b4803aa9596cca3a5d4a6e07caea6
parent9c1ac0c6b97c6322c23cf3356028c28029c3b117
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