aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorQingqing Zhuo <qingqing.zhuo@amd.com>2020-12-09 18:04:04 -0500
committerAlex Deucher <alexander.deucher@amd.com>2021-01-13 23:42:45 -0500
commit33fd9cb8a267937e0902ade4cdefd8a008c93e65 (patch)
tree198d14611a6f1c5cc0f05297d53b0f7ba134dace /tools/perf/scripts/python/stackcollapse.py
parentdrm/amd/display: 3.2.117 (diff)
downloadlinux-33fd9cb8a267937e0902ade4cdefd8a008c93e65.tar.gz
linux-33fd9cb8a267937e0902ade4cdefd8a008c93e65.zip
drm/amd/display: NULL pointer hang
[Why] In dc_link_dp_set_test_pattern, we assume all pipes have a stream, which can cause null pointer dereference. [How] Add a null pointer check before accessing stream. Tested-by: Daniel Wheeler <daniel.wheeler@amd.com> Signed-off-by: Qingqing Zhuo <qingqing.zhuo@amd.com> Reviewed-by: Nicholas Kazlauskas <Nicholas.Kazlauskas@amd.com> Acked-by: Rodrigo Siqueira <Rodrigo.Siqueira@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