[PATCH] drm/amdgpu: use .early_unregister hook to remove DP AUX i2c

2016-10-11 Thread Alex Deucher
On Sun, Oct 9, 2016 at 1:28 PM, Grazvydas Ignotas wrote: > When DisplayPort AUX channel i2c adapter is registered, drm_connector's > kdev member is used as a parent, so we get sysfs structure like: > /drm/card1/card1-DP-2/i2c-12 > Because of that, there is a problem when drm core (and not the dr

[PATCH] drm/amdgpu: use .early_unregister hook to remove DP AUX i2c

2016-10-10 Thread Daniel Vetter
On Sun, Oct 09, 2016 at 08:28:19PM +0300, Grazvydas Ignotas wrote: > When DisplayPort AUX channel i2c adapter is registered, drm_connector's > kdev member is used as a parent, so we get sysfs structure like: > /drm/card1/card1-DP-2/i2c-12 > Because of that, there is a problem when drm core (and n

[PATCH] drm/amdgpu: use .early_unregister hook to remove DP AUX i2c

2016-10-09 Thread Grazvydas Ignotas
When DisplayPort AUX channel i2c adapter is registered, drm_connector's kdev member is used as a parent, so we get sysfs structure like: /drm/card1/card1-DP-2/i2c-12 Because of that, there is a problem when drm core (and not the driver) calls drm_connector_unregister(), it removes parent sysfs en