drm/amdgpu/display: split dp connector registration (v4)
authorAlex Deucher <alexander.deucher@amd.com>
Wed, 5 Feb 2020 15:18:04 +0000 (10:18 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 26 Feb 2020 19:21:13 +0000 (14:21 -0500)
commit405a1f9090d1acec75aeb86569da60beca9fe68f
tree985fc4bb4d7b72c855206ba9bd0db1298271d651
parent14f04fa4834a515146115bca755c76bc9b73aa8c
drm/amdgpu/display: split dp connector registration (v4)

Split into init and register functions to avoid a segfault
in some configs when the load/unload callbacks are removed.

v2:
- add back accidently dropped has_aux setting
- set dev in late_register

v3:
- fix dp cec ordering

v4:
- squash in kdev reference fix

Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Tested-by: Thomas Zimmermann <tzimmermann@suse.de>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_connectors.c
drivers/gpu/drm/amd/amdgpu/atombios_dp.c
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_mst_types.c