diff options
author | Nicholas Kazlauskas <[email protected]> | 2018-07-30 12:27:23 -0400 |
---|---|---|
committer | Alex Deucher <[email protected]> | 2018-08-06 15:57:02 -0500 |
commit | fb7b11e1633e50b9a6b3fffe5cd151474aee9802 (patch) | |
tree | 4f7312b9f8fad0e51769c2e1aae0b87d57da1a7a /drivers/gpu/drm/amd/display/dc/bios/command_table.c | |
parent | ad830e7ab1847f4a014c04496b2581a7497b204f (diff) |
drm/amd/display: Add NULL check for enabling dp ss
[Why]
The pointer for integrated_info can be NULL which causes the system to
do a null pointer deference and hang on boot.
[How]
Add a check to ensure that integrated_info is not null before enabling
DP ss.
Signed-off-by: Nicholas Kazlauskas <[email protected]>
Reviewed-by: Sun peng Li <[email protected]>
Acked-by: Bhawanpreet Lakha <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/display/dc/bios/command_table.c')
0 files changed, 0 insertions, 0 deletions