]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit6e0b7027d2077f5780ab146dacd2d260b1fe0b6a
tree985fc4bb4d7b72c855206ba9bd0db1298271d651
parentf9727d3cb088687124b2ee4c39ef1140804f86c2
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