commit | dcda7c28bff2662a44c0adaf87c08031bebeb7d8 | [log] [tgz] |
---|---|---|
author | Maxime Ripard <maxime@cerno.tech> | Thu Oct 29 20:01:04 2020 +0100 |
committer | Maxime Ripard <maxime@cerno.tech> | Mon Nov 02 12:23:12 2020 +0100 |
tree | b356b5102107396d4cdd45ee8ad4b6faa155db9c | |
parent | 84d7d4720c21320c0e4f9369d6a82fc112b63d8c [diff] |
drm/vc4: kms: Add functions to create the state objects In order to make the vc4_kms_load code and error path a bit easier to read and extend, add functions to create state objects, and use managed actions to cleanup if needed. Signed-off-by: Maxime Ripard <maxime@cerno.tech> Acked-by: Daniel Vetter <daniel.vetter@ffwll.ch> Link: https://patchwork.freedesktop.org/patch/msgid/20201029190104.2181730-6-maxime@cerno.tech