diff options
author | 2021-01-13 17:02:53 +0000 | |
---|---|---|
committer | 2021-03-16 03:12:36 +0200 | |
commit | 7a1adbd2399023177508836c2b13a6c723035409 (patch) | |
tree | 0944e198406337c190113206796643db7d1db21e /tools/perf/scripts/python/export-to-postgresql.py | |
parent | drm/nouveau: fix dma syncing for loops (v2) (diff) | |
download | wireguard-linux-7a1adbd2399023177508836c2b13a6c723035409.tar.xz wireguard-linux-7a1adbd2399023177508836c2b13a6c723035409.zip |
drm: rcar-du: Use drmm_encoder_alloc() to manage encoder
The encoder allocation was converted to a DRM managed resource at the
same time as the addition of a new helper drmm_encoder_alloc() which
simplifies the same process.
Convert the custom drm managed resource allocation of the encoder
with the helper to simplify the implementation, and prevent hitting a
WARN_ON() due to the handling the drm_encoder_init() call directly
without registering a .destroy() function op.
Fixes: f5f16725edbc ("drm: rcar-du: Use DRM-managed allocation for encoders")
Reported-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Kieran Bingham <kieran.bingham+renesas@ideasonboard.com>
Tested-by: Geert Uytterhoeven <geert+renesas@glider.be>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions