diff options
| author | Baihan Li <[email protected]> | 2025-08-13 09:42:31 +0000 |
|---|---|---|
| committer | Dmitry Baryshkov <[email protected]> | 2025-08-17 15:22:05 +0000 |
| commit | 93a08f856fcc5aaeeecad01f71bef3088588216a (patch) | |
| tree | 72ea0ac96aaf5ba4173bcf61381a54e16619a765 /drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c | |
| parent | drm/hisilicon/hibmc: fix irq_request()'s irq name variable is local (diff) | |
| download | kernel-93a08f856fcc5aaeeecad01f71bef3088588216a.tar.gz kernel-93a08f856fcc5aaeeecad01f71bef3088588216a.zip | |
drm/hisilicon/hibmc: fix the hibmc loaded failed bug
When hibmc loaded failed, the driver use hibmc_unload to free the
resource, but the mutexes in mode.config are not init, which will
access an NULL pointer. Just change goto statement to return, because
hibnc_hw_init() doesn't need to free anything.
Fixes: b3df5e65cc03 ("drm/hibmc: Drop drm_vblank_cleanup")
Signed-off-by: Baihan Li <[email protected]>
Signed-off-by: Yongbang Shi <[email protected]>
Reviewed-by: Dmitry Baryshkov <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Dmitry Baryshkov <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c')
0 files changed, 0 insertions, 0 deletions
