diff options
| author | Dmitry Baryshkov <[email protected]> | 2023-12-11 14:54:40 +0000 |
|---|---|---|
| committer | Dmitry Baryshkov <[email protected]> | 2023-12-14 07:27:23 +0000 |
| commit | c806d59695e1cdd288e11f8dcc8abdd187a3570e (patch) | |
| tree | 60a944f929b05467a18630ac98eac58637229c87 /drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c | |
| parent | dt-bindings: display: msm: dp: declare compatible string for sm8150 (diff) | |
| download | kernel-c806d59695e1cdd288e11f8dcc8abdd187a3570e.tar.gz kernel-c806d59695e1cdd288e11f8dcc8abdd187a3570e.zip | |
drm/msm/dpu: remove extra drm_encoder_cleanup from the error path
The drmm handler will perform drm_encoder_cleanup() for us. Moreover if
we call drm_encoder_cleanup() manually, the drmm_encoder_alloc_release()
will spawn warnings at drivers/gpu/drm/drm_encoder.c:214. Drop these
extra drm_encoder_cleanup() calls.
Fixes: cd42c56d9c0b ("drm/msm/dpu: use drmm-managed allocation for dpu_encoder_virt")
Signed-off-by: Dmitry Baryshkov <[email protected]>
Reported-by: Konrad Dybcio <[email protected]>
Reviewed-by: Abhinav Kumar <[email protected]>
Tested-by: Abhinav Kumar <[email protected]> #sm8250 CI
Patchwork: https://patchwork.freedesktop.org/patch/571562/
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c')
0 files changed, 0 insertions, 0 deletions
