diff options
author | Chris Park <chris.park@amd.com> | 2024-03-05 17:41:15 -0500 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2024-03-22 15:49:08 -0400 |
commit | f2afc8d4c3d08b450dcf957a253333a4e3ed65f9 (patch) | |
tree | b54b855763a0545584b900121622374ffca8c8cf /drivers/gpu/drm/amd/pm/amdgpu_pm.c | |
parent | 414998f2a017b2463e84cfccb32a42af191f3780 (diff) | |
download | linux-f2afc8d4c3d08b450dcf957a253333a4e3ed65f9.tar.gz linux-f2afc8d4c3d08b450dcf957a253333a4e3ed65f9.tar.bz2 linux-f2afc8d4c3d08b450dcf957a253333a4e3ed65f9.zip |
drm/amd/display: Prevent crash when disable stream
[Why]
Disabling stream encoder invokes a function that no longer exists.
[How]
Check if the function declaration is NULL in disable stream encoder.
Cc: Mario Limonciello <mario.limonciello@amd.com>
Cc: Alex Deucher <alexander.deucher@amd.com>
Cc: stable@vger.kernel.org
Reviewed-by: Charlene Liu <charlene.liu@amd.com>
Acked-by: Wayne Lin <wayne.lin@amd.com>
Signed-off-by: Chris Park <chris.park@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/pm/amdgpu_pm.c')
0 files changed, 0 insertions, 0 deletions