diff options
author | Alex Hung <alex.hung@amd.com> | 2025-02-18 21:14:47 -0700 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2025-03-05 10:39:35 -0500 |
commit | 02b2c97824df69f5a8618b28fcb7060be6166436 (patch) | |
tree | 27e1ad59c5795ba91bf468c333f18c74bfc1b32f /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 79fc4e856ea8f62ff7a46cd0ce5ad3a895d39298 (diff) |
drm/amd/display: Check NULL connector before it is used
[Why & How]
amdgpu_dm_find_first_crtc_matching_connector can return NULL.
It is necessary to the returned connector before passing it
drm_atomic_get_new_connector_state which always assumes connector is
not NULL.
Reviewed-by: Roman Li <roman.li@amd.com>
Signed-off-by: Alex Hung <alex.hung@amd.com>
Signed-off-by: Wayne Lin <wayne.lin@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/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions