diff options
author | Aurabindo Pillai <aurabindo.pillai@amd.com> | 2021-10-08 16:07:45 -0400 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2021-10-13 14:14:35 -0400 |
commit | 1f3b22e4eb162e0b1d423106a47484943a22a309 (patch) | |
tree | 7c1b9264be46a568441a55c497fb463ab3f033a4 /drivers/gpu/drm/lima/lima_pp.c | |
parent | 62e5a7e2333a9f5395f6a9db766b7b06c949fe7a (diff) |
drm/amd/display: fix null pointer deref when plugging in display
[Why&How]
When system boots in headless mode, connecting a 4k display creates a
null pointer dereference due to hubp for a certain plane being null.
Add a condition to check for null hubp before dereferencing it.
Signed-off-by: Aurabindo Pillai <aurabindo.pillai@amd.com>
Reviewed-by: Harry Wentland <harry.wentland@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/lima/lima_pp.c')
0 files changed, 0 insertions, 0 deletions