diff options
author | Martin Leung <martin.leung@amd.com> | 2021-02-20 02:04:42 +0300 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2022-07-05 23:12:37 +0300 |
commit | e73b386e75586f28b9b58641938ae0feb340bca0 (patch) | |
tree | b7ef10d2e1d88052ee427a99d57363ec6a6ae3f1 /lib/string_helpers.c | |
parent | 82a562ab5f0a918ef905c29c759b4f0c788754d3 (diff) | |
download | linux-e73b386e75586f28b9b58641938ae0feb340bca0.tar.xz |
drm/amd/display: guard for virtual calling destroy_link_encoders
[Why]:
On power down, virtual dal may try to delete link_encoders by
referencing uninitialized res_pool.
[How]:
Added guard against empty res_pool.
Acked-by: Rodrigo Siqueira <Rodrigo.Siqueira@amd.com>
Signed-off-by: Martin Leung <martin.leung@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'lib/string_helpers.c')
0 files changed, 0 insertions, 0 deletions