aboutsummaryrefslogtreecommitdiff
path: root/lib/mpi/mpi-sub-ui.c
diff options
context:
space:
mode:
authorPaul Cercueil <[email protected]>2021-03-27 11:57:42 +0000
committerPaul Cercueil <[email protected]>2021-03-29 16:47:12 +0100
commite488b1023a4a4eab15b905871cf8e81f00336ed7 (patch)
treebee4fd623692ff817706b44d4474830a1e459a4b /lib/mpi/mpi-sub-ui.c
parentc7b04342b41d314433494fd56cd378fa544a630f (diff)
drm/ingenic: Register devm action to cleanup encoders
Since the encoders have been devm-allocated, they will be freed way before drm_mode_config_cleanup() is called. To avoid use-after-free conditions, we then must ensure that drm_encoder_cleanup() is called before the encoders are freed. v2: Use the new __drmm_simple_encoder_alloc() function v3: Use the new drmm_plain_simple_encoder_alloc() macro v4: Use drmm_plain_encoder_alloc() macro Fixes: c369cb27c267 ("drm/ingenic: Support multiple panels/bridges") Cc: <[email protected]> # 5.8+ Signed-off-by: Paul Cercueil <[email protected]> Reviewed-by: Laurent Pinchart <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'lib/mpi/mpi-sub-ui.c')
0 files changed, 0 insertions, 0 deletions