]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit80fdb8f3b6cbb77c60078da66b9cd910319de0ec
tree27a7775ac467e671ca0b27b82086b199074eacf9
parent47904484a8c2ecfe8a32c9c23cb0df9c28d119bd
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