OSDN Git Service

drm/amd/display: Fix for null pointer access for ddc pin and aux engine.
authorMeenakshikumar Somasundaram <meenakshikumar.somasundaram@amd.com>
Fri, 13 Aug 2021 17:09:25 +0000 (13:09 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 14 Sep 2021 19:57:09 +0000 (15:57 -0400)
commit13900e6fde3f91ea34a586002d592a2b20e1142e
tree27a7775ac467e671ca0b27b82086b199074eacf9
parent5e1a9a3ed65a906481bea56eaae77a2ba01ef2b1
drm/amd/display: Fix for null pointer access for ddc pin and aux engine.

[Why]
Need a check for NULL pointer access for ddc pin and aux engine.

[How]
Adding a check for ddc pin and aux engine accesses.

Reviewed-by: Jimmy Kizito <jimmy.kizito@amd.com>
Acked-by: Mikita Lipski <mikita.lipski@amd.com>
Signed-off-by: Meenakshikumar Somasundaram <meenakshikumar.somasundaram@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_hdcp.c
drivers/gpu/drm/amd/display/dc/dce/dce_aux.c
drivers/gpu/drm/amd/display/include/dal_asic_id.h