diff options
author | Kieran Bingham <[email protected]> | 2021-01-13 17:02:53 +0000 |
---|---|---|
committer | Laurent Pinchart <[email protected]> | 2021-03-16 03:12:36 +0200 |
commit | 7a1adbd2399023177508836c2b13a6c723035409 (patch) | |
tree | 0944e198406337c190113206796643db7d1db21e /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 4042160c2e5433e0759782c402292a90b5bf458d (diff) |
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 <[email protected]>
Signed-off-by: Kieran Bingham <[email protected]>
Tested-by: Geert Uytterhoeven <[email protected]>
Reviewed-by: Laurent Pinchart <[email protected]>
Signed-off-by: Laurent Pinchart <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions