linux_dsm_epyc7002/drivers/gpu/drm/udl
Daniel Vetter fe5b7c86d6 drm/udl: Drop explicit drm_mode_config_cleanup call
It's right above the drm_dev_put().

This allows us to delete a bit of onion unwinding in
udl_modeset_init().

This is made possible by a preceeding patch which added a drmm_
cleanup action to drm_mode_config_init(), hence all we need to do to
ensure that drm_mode_config_cleanup() is run on final drm_device
cleanup is check the new error code for _init().

v2: Explain why this cleanup is possible (Laurent).

v3: Use drmm_mode_config_init() for more clarity (Sam, Thomas)

Acked-by: Thomas Zimmermann <tzimmermann@suse.de>
Cc: Sam Ravnborg <sam@ravnborg.org>
Cc: Thomas Zimmermann <tzimmermann@suse.de>
Acked-by: Sam Ravnborg <sam@ravnborg.org>
Cc: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Daniel Vetter <daniel.vetter@intel.com>
Cc: Dave Airlie <airlied@redhat.com>
Cc: Sean Paul <sean@poorly.run>
Cc: Daniel Vetter <daniel.vetter@ffwll.ch>
Cc: Thomas Zimmermann <tzimmermann@suse.de>
Cc: Emil Velikov <emil.l.velikov@gmail.com>
Cc: Gerd Hoffmann <kraxel@redhat.com>
Cc: "Noralf Trønnes" <noralf@tronnes.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Sam Ravnborg <sam@ravnborg.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20200323144950.3018436-50-daniel.vetter@ffwll.ch
2020-03-26 16:09:25 +01:00
..
Kconfig drm/udl: Make udl driver depend on CONFIG_USB 2020-01-09 15:02:48 +01:00
Makefile drm/udl: Remove udl_fb.c 2019-12-11 17:02:17 +01:00
udl_connector.c drm/udl: Clear struct drm_connector_funcs.dpms 2020-02-10 09:24:09 +01:00
udl_connector.h drm/udl: drop use of drmP.h 2019-07-17 12:52:55 +02:00
udl_drv.c drm/udl: Drop explicit drm_mode_config_cleanup call 2020-03-26 16:09:25 +01:00
udl_drv.h drm/udl: Drop explicit drm_mode_config_cleanup call 2020-03-26 16:09:25 +01:00
udl_gem.c drm/udl: Remove udl implementation of GEM's free_object() 2019-11-26 12:34:39 +01:00
udl_main.c drm/udl: Remove struct udl_device.active_fb_16 2019-12-11 17:02:16 +01:00
udl_modeset.c drm/udl: Drop explicit drm_mode_config_cleanup call 2020-03-26 16:09:25 +01:00
udl_transfer.c drm/udl: Remove field lost_pixels from struct udl_device 2019-12-06 13:52:33 +01:00