linux_dsm_epyc7002/drivers/gpu/drm/rockchip
Daniel Vetter 56e35f85ba drm/rockchip: Drop explicit drm_mode_config_cleanup call
It's (almost, there's some iommu stuff without significance) right
above the drm_dev_put().

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().

Aside: Another driver with a bit much devm_kzalloc, which should
probably use drmm_kzalloc instead ...

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

v3: Jump out at the right label (Francesco)

v4: Try again, kbuild caught that I didn't build test this properly
...

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

Acked-by: Sam Ravnborg <sam@ravnborg.org>
Cc: Sam Ravnborg <sam@ravnborg.org>
Cc: Thomas Zimmermann <tzimmermann@suse.de>
Cc: Francesco Lavra <francescolavra.fl@gmail.com>
Cc: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Daniel Vetter <daniel.vetter@intel.com>
Cc: Sandy Huang <hjc@rock-chips.com>
Cc: "Heiko Stübner" <heiko@sntech.de>
Cc: linux-arm-kernel@lists.infradead.org
Cc: linux-rockchip@lists.infradead.org
Link: https://patchwork.freedesktop.org/patch/msgid/20200323144950.3018436-38-daniel.vetter@ffwll.ch
2020-03-26 16:05:53 +01:00
..
analogix_dp-rockchip.c drm main pull for 5.4-rc1 2019-09-19 16:24:24 -07:00
cdn-dp-core.c drm/rockchip: Avoid drm_dp_link helpers 2019-10-23 18:21:01 +02:00
cdn-dp-core.h drm/rockchip: fix integer type used for storing dp data rate 2020-01-13 14:31:59 +01:00
cdn-dp-reg.c drm/rockchip: Avoid drm_dp_link helpers 2019-10-23 18:21:01 +02:00
cdn-dp-reg.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 282 2019-06-05 17:36:37 +02:00
dw_hdmi-rockchip.c drm/rockchip: Enable DRM InfoFrame support on RK3328 and RK3399 2019-10-10 12:50:01 +02:00
dw-mipi-dsi-rockchip.c drm/rockchip: dsi: add px30 support 2019-12-16 12:03:49 +01:00
inno_hdmi.c drm: rockchip: Provide ddc symlink in inno_hdmi sysfs directory 2019-11-07 15:07:28 +01:00
inno_hdmi.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 282 2019-06-05 17:36:37 +02:00
Kconfig drm/bridge/synopsys: dsi: driver-specific configuration of phy timings 2019-12-16 12:01:58 +01:00
Makefile drm/rockchip: Use the helpers for PSR 2019-07-26 14:48:03 -04:00
rk3066_hdmi.c drm: rockchip: rk3066_hdmi: set edid fifo address 2020-01-06 12:22:29 +01:00
rk3066_hdmi.h drm: rockchip: introduce rk3066 hdmi 2019-03-31 14:24:30 +02:00
rockchip_drm_drv.c drm/rockchip: Drop explicit drm_mode_config_cleanup call 2020-03-26 16:05:53 +01:00
rockchip_drm_drv.h drm/rockchip: Add support for afbc 2020-03-23 12:45:26 +01:00
rockchip_drm_fb.c drm/rockchip: Add support for afbc 2020-03-23 12:45:26 +01:00
rockchip_drm_fb.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 282 2019-06-05 17:36:37 +02:00
rockchip_drm_fbdev.c drm: Remove drm_fb_helper add, add all and remove connector calls 2020-03-06 14:19:58 +01:00
rockchip_drm_fbdev.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 282 2019-06-05 17:36:37 +02:00
rockchip_drm_gem.c drm/rockchip: Add missing vmalloc header 2020-01-13 14:54:35 +01:00
rockchip_drm_gem.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 282 2019-06-05 17:36:37 +02:00
rockchip_drm_vop.c drm/rockchip: Add support for afbc 2020-03-23 12:45:26 +01:00
rockchip_drm_vop.h drm/rockchip: Add support for afbc 2020-03-23 12:45:26 +01:00
rockchip_lvds.c drm/bridge: Extend bridge API to disable connector creation 2020-02-26 13:31:23 +02:00
rockchip_lvds.h drm/rockchip: lvds: Add PX30 support 2020-01-06 11:56:02 +01:00
rockchip_rgb.c drm/rockchip: rgb: don't count non-existent devices when determining subdrivers 2020-03-11 09:44:14 +01:00
rockchip_rgb.h drm/rockchip: rgb: update SPDX license identifier 2019-01-25 14:50:07 +01:00
rockchip_vop_reg.c drm/rockchip: Add support for afbc 2020-03-23 12:45:26 +01:00
rockchip_vop_reg.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 282 2019-06-05 17:36:37 +02:00