diff options
author | Chris Park <chris.park@amd.com> | 2024-03-06 01:41:15 +0300 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2024-03-27 15:49:53 +0300 |
commit | 72d72e8fddbcd6c98e1b02d32cf6f2b04e10bd1c (patch) | |
tree | 22f4028734357d88e5dcd56139a1f41498080eb8 /tools/perf/scripts/python/stackcollapse.py | |
parent | a99d81937526d60796a4462de459a85146851ccf (diff) | |
download | linux-72d72e8fddbcd6c98e1b02d32cf6f2b04e10bd1c.tar.xz |
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 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions