diff options
| author | Daniel Vetter <[email protected]> | 2020-03-23 14:49:47 +0000 |
|---|---|---|
| committer | Daniel Vetter <[email protected]> | 2020-03-26 15:09:10 +0000 |
| commit | 3421a6c4098ff70365444b956cd735b50fa99ead (patch) | |
| tree | 85cf448eb3e4a2d1eff8c84c2277715776e9684d /drivers/gpu/drm/lima/lima_sched.c | |
| parent | drm/mipi-dbi: Move drm_mode_config_init into mipi library (diff) | |
| download | kernel-3421a6c4098ff70365444b956cd735b50fa99ead.tar.gz kernel-3421a6c4098ff70365444b956cd735b50fa99ead.zip | |
drm/mipi-dbi: Drop explicit drm_mode_config_cleanup call
Allows us to drop the drm_driver.release callback from all
drivers, and remove the mipi_dbi_release() function.
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)
Cc: Sam Ravnborg <[email protected]>
Cc: Thomas Zimmermann <[email protected]>
Acked-by: Sam Ravnborg <[email protected]>
Cc: Laurent Pinchart <[email protected]>
Reviewed-by: Noralf Trønnes <[email protected]> (v2)
Tested-by: Noralf Trønnes <[email protected]>
Signed-off-by: Daniel Vetter <[email protected]>
Cc: Maarten Lankhorst <[email protected]>
Cc: Maxime Ripard <[email protected]>
Cc: Thomas Zimmermann <[email protected]>
Cc: David Airlie <[email protected]>
Cc: Daniel Vetter <[email protected]>
Cc: Eric Anholt <[email protected]>
Cc: David Lechner <[email protected]>
Cc: Kamlesh Gurudasani <[email protected]>
Cc: "Noralf Trønnes" <[email protected]>
Cc: Sam Ravnborg <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'drivers/gpu/drm/lima/lima_sched.c')
0 files changed, 0 insertions, 0 deletions
