]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/display: Avoid create MST prop after registration
authorJerry (Fangzhi) Zuo <Jerry.Zuo@amd.com>
Sun, 5 Apr 2020 20:41:09 +0000 (16:41 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 7 Apr 2020 18:10:24 +0000 (14:10 -0400)
commit8c61b31e3c3f7dd843ebbf1cc02ca352b66f123f
tree1cacf43f61f5b755011bb59454e37d1219981071
parent8f0622a19bef2dc09b511ccf8c536067521ade83
drm/amd/display: Avoid create MST prop after registration

[Why]
Prop are created at boot stage, and not allowed to create new prop
after device registration.

[How]
Reuse the connector property from SST if exist.

Signed-off-by: Jerry (Fangzhi) Zuo <Jerry.Zuo@amd.com>
Reviewed-by: Hersen Wu <hersenxs.wu@amd.com>
Acked-by: Rodrigo Siqueira <Rodrigo.Siqueira@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_mst_types.c