diff options
author | Wenjing Liu <wenjing.liu@amd.com> | 2024-03-12 22:31:59 +0300 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2024-03-27 08:38:40 +0300 |
commit | 02367f52901932674ff2a9c5208b6c11ccf39802 (patch) | |
tree | 02a66e808fe7acd3f4cf3ec6d5916e64180036b8 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | e4067957363742c762eb68041367e5ea9a465f60 (diff) | |
download | linux-02367f52901932674ff2a9c5208b6c11ccf39802.tar.xz |
drm/amd/display: fix a dereference of a NULL pointer
[why&how]
In some platform out_transfer_func may not be popualted. We need to check
for null before dereferencing it.
Fixes: d2dea1f14038 ("drm/amd/display: Generalize new minimal transition path")
Reviewed-by: Alvin Lee <alvin.lee2@amd.com>
Acked-by: Tom Chung <chiahsuan.chung@amd.com>
Signed-off-by: Wenjing Liu <wenjing.liu@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/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions