diff options
author | Alex Deucher <alexander.deucher@amd.com> | 2018-08-14 14:53:52 -0500 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2018-08-27 11:11:15 -0500 |
commit | 11c3ee48bd7c232c0a750b4dde8ee48f315dcdf3 (patch) | |
tree | 49355f0f09b5f06fa3b4bc00c8f0c3bd6bb3bfa7 /drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c | |
parent | ae74da3e145198dfb766c7beddd473fad2fb2a5b (diff) | |
download | linux-11c3ee48bd7c232c0a750b4dde8ee48f315dcdf3.tar.gz linux-11c3ee48bd7c232c0a750b4dde8ee48f315dcdf3.tar.bz2 linux-11c3ee48bd7c232c0a750b4dde8ee48f315dcdf3.zip |
drm/amdgpu/display: add support for LVDS (v5)
This adds support for LVDS displays.
v2: add support for spread spectrum, sink detect
v3: clean up enable_lvds_output
v4: fix up link_detect
v5: remove assert on 888 format
Bug: https://bugs.freedesktop.org/show_bug.cgi?id=105880
Reviewed-by: Harry Wentland <harry.wentland@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c')
-rw-r--r-- | drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c b/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c index 1a6b303c8379..c18bad387635 100644 --- a/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c +++ b/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c @@ -3358,6 +3358,8 @@ static int to_drm_connector_type(enum signal_type st) return DRM_MODE_CONNECTOR_HDMIA; case SIGNAL_TYPE_EDP: return DRM_MODE_CONNECTOR_eDP; + case SIGNAL_TYPE_LVDS: + return DRM_MODE_CONNECTOR_LVDS; case SIGNAL_TYPE_RGB: return DRM_MODE_CONNECTOR_VGA; case SIGNAL_TYPE_DISPLAY_PORT: |