commit | cff0adca1edd6eb2bc6116e4d83e442f372cca64 | [log] [tgz] |
---|---|---|
author | Thomas Zimmermann <tzimmermann@suse.de> | Thu Jul 30 15:52:06 2020 +0200 |
committer | Thomas Zimmermann <tzimmermann@suse.de> | Mon Aug 03 09:05:00 2020 +0200 |
tree | 315ee5445a9b730048c97846ee01bb005e8a4903 | |
parent | 4bc85b82c8ba5cfad6d750748d36e2b852fad80d [diff] |
drm/ast: Managed device release This turns the ast's device cleanup code into a managed release helper function. Note that the code uses devres helpers. The release function switches the device back to VGA mode and therefore runs during HW device cleanup; not at DRM device cleanup. Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de> Acked-by: Daniel Vetter <daniel.vetter@ffwll.ch> Link: https://patchwork.freedesktop.org/patch/msgid/20200730135206.30239-10-tzimmermann@suse.de