diff options
author | Douglas Anderson <dianders@chromium.org> | 2024-06-12 15:23:43 -0700 |
---|---|---|
committer | Douglas Anderson <dianders@chromium.org> | 2024-07-08 13:55:03 -0700 |
commit | bc5846d3d3dff9f057e2897a736b51584785da30 (patch) | |
tree | 6117b166f4f20fe1ada7b8f8e905f6c32ee4e6a7 /drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c | |
parent | 5a716b06b329bd2108c95a4f04c71bbe491729f2 (diff) | |
download | linux-bc5846d3d3dff9f057e2897a736b51584785da30.tar.gz linux-bc5846d3d3dff9f057e2897a736b51584785da30.tar.bz2 linux-bc5846d3d3dff9f057e2897a736b51584785da30.zip |
drm/tegra: Call drm_atomic_helper_shutdown() at shutdown time
Based on grepping through the source code this driver appears to be
missing a call to drm_atomic_helper_shutdown() at system shutdown
time. Among other things, this means that if a panel is in use that it
won't be cleanly powered off at system shutdown time.
The fact that we should call drm_atomic_helper_shutdown() in the case
of OS shutdown/restart comes straight out of the kernel doc "driver
instance overview" in drm_drv.c.
Suggested-by: Maxime Ripard <mripard@kernel.org>
Reviewed-by: Maxime Ripard <mripard@kernel.org>
Acked-by: Thierry Reding <treding@nvidia.com>
Signed-off-by: Douglas Anderson <dianders@chromium.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20240612152336.v2.3.Ifb4450979b62976fd5a98847dade2e5b377d47c8@changeid
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c')
0 files changed, 0 insertions, 0 deletions