[PATCH] drm/imx: remove drm_mode_connector_detach_encoder harder

Greg Kroah-Hartman gregkh at linuxfoundation.org
Mon Mar 17 14:48:56 PDT 2014


On Sat, Mar 15, 2014 at 12:15:49PM +0100, Daniel Vetter wrote:
> Since the last time I've looked more of this stuff sprouted up. Stomp
> it down again.
> 
> Repeating the original justification for ripping this all out: There's
> absolutely no need to deteach connectors before cleaning them up at
> driver unload time. And since drm doesn't support hotplugging kms
> objects at all it's positively dangerous to attempt this at runtime.
> Luckily imx only detachs at driver cleanup time and hence we can
> savely remove this.
> 
> Reported-by: kbuild test robot <fengguang.wu at intel.com>
> Cc: Sascha Hauer <s.hauer at pengutronix.de>
> Cc: Russell King <rmk+kernel at arm.linux.org.uk>
> Cc: Greg Kroah-Hartman <gregkh at linuxfoundation.org>
> Signed-off-by: Daniel Vetter <daniel.vetter at ffwll.ch>
> ---
>  drivers/staging/imx-drm/imx-hdmi.c | 1 -
>  drivers/staging/imx-drm/imx-tve.c  | 2 --
>  2 files changed, 3 deletions(-)

Acked-by: Greg Kroah-Hartman <gregkh at linuxfoundation.org>



More information about the dri-devel mailing list