diff options
| author | Douglas Anderson <[email protected]> | 2024-06-05 00:23:06 +0000 |
|---|---|---|
| committer | Neil Armstrong <[email protected]> | 2024-06-11 07:58:48 +0000 |
| commit | b3494ccb04124ab3ae08fcd01f9571d209ce97f2 (patch) | |
| tree | cd8200055dfa490d6761a4a20daf9cb8cc4296e8 /drivers/gpu/drm/amd/amdgpu/amdgpu_mca.c | |
| parent | drm/panel: sharp-ls043t1le01: Stop tracking prepared (diff) | |
| download | kernel-b3494ccb04124ab3ae08fcd01f9571d209ce97f2.tar.gz kernel-b3494ccb04124ab3ae08fcd01f9571d209ce97f2.zip | |
drm/panel: sharp-ls043t1le01: Don't call disable at shutdown/remove
It's the responsibility of a correctly written DRM modeset driver to
call drm_atomic_helper_shutdown() at shutdown time and that should be
disabling / unpreparing the panel if needed. Panel drivers shouldn't
be calling these functions themselves.
A recent effort was made to fix as many DRM modeset drivers as
possible [1] [2] [3] and most drivers are fixed now.
A grep through mainline for compatible strings used by this driver
indicates that it is used by Qualcomm boards. The Qualcomm driver
appears to be correctly calling drm_atomic_helper_shutdown() so we can
remove the calls.
[1] https://lore.kernel.org/r/[email protected]
[2] https://lore.kernel.org/r/[email protected]
[3] https://lore.kernel.org/r/[email protected]
Cc: Werner Johansson <[email protected]>
Cc: Dmitry Baryshkov <[email protected]>
Acked-by: Linus Walleij <[email protected]>
Acked-by: Maxime Ripard <[email protected]>
Signed-off-by: Douglas Anderson <[email protected]>
Reviewed-by: Neil Armstrong <[email protected]>
Link: https://lore.kernel.org/r/20240604172305.v3.20.I89ee53f7fc2f0806cab318128e5fa927990d830f@changeid
Signed-off-by: Neil Armstrong <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/20240604172305.v3.20.I89ee53f7fc2f0806cab318128e5fa927990d830f@changeid
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_mca.c')
0 files changed, 0 insertions, 0 deletions
