mirror of
https://github.com/torvalds/linux.git
synced 2024-11-23 12:42:02 +00:00
e488b1023a
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:
|
||
---|---|---|
.. | ||
ingenic-drm-drv.c | ||
ingenic-drm.h | ||
ingenic-ipu.c | ||
ingenic-ipu.h | ||
Kconfig | ||
Makefile |