diff options
author | Chris Park <Chris.Park@amd.com> | 2022-02-28 10:23:00 -0500 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2022-03-15 14:25:16 -0400 |
commit | 84ce38c7bf7a19fb1f9cc61181e830b7e04dd51d (patch) | |
tree | b7868a4c338545cc578f2aabd023c4b1f787a87c /lib/kunit/string-stream.c | |
parent | 9c1e260e97606330518a78422ae28d9d56ac87d6 (diff) |
drm/amd/display: Add NULL check
[Why]
Virtualization enters blue screen of death (BSoD)
due to NULL res_pool object when accessing DSC
encoder capability.
[How]
Add NULL check to avoid blue screen of death.
Reviewed-by: Aric Cyr <Aric.Cyr@amd.com>
Acked-by: Alan Liu <HaoPing.Liu@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 'lib/kunit/string-stream.c')
0 files changed, 0 insertions, 0 deletions