drm/amdgpu: utilize subconnector property for DP through DisplayManager
authorOleg Vasilev <oleg.vasilev@intel.com>
Fri, 24 Apr 2020 12:50:55 +0000 (18:20 +0530)
committerMaarten Lankhorst <maarten.lankhorst@linux.intel.com>
Tue, 11 Aug 2020 12:19:42 +0000 (14:19 +0200)
commit0f877894a330edd4f3bc9ec07a1686ee2d86668d
treede9b13ca88035a4ce3af55556adb9eb8dc4a9d7b
parent65bf2cf95d3ade4b56c35b17bb955a64b7f4b019
drm/amdgpu: utilize subconnector property for DP through DisplayManager

Since DP-specific information is stored in driver's structures, every
driver needs to implement subconnector property by itself. Display
Core already has the subconnector information, we only need to
expose it through DRM property.

v2:rebase

v3: renamed a function call

Cc: Alex Deucher <alexander.deucher@amd.com>
Cc: Christian König <christian.koenig@amd.com>
Cc: David (ChunMing) Zhou <David1.Zhou@amd.com>
Cc: amd-gfx@lists.freedesktop.org
Signed-off-by: Jeevan B <jeevan.b@intel.com>
Signed-off-by: Oleg Vasilev <oleg.vasilev@intel.com>
Tested-by: Oleg Vasilev <oleg.vasilev@intel.com>
Acked-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/1587732655-17544-5-git-send-email-jeevan.b@intel.com
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_mst_types.c