diff options
| author | Nicholas Kazlauskas <nicholas.kazlauskas@amd.com> | 2022-06-09 13:30:42 -0400 |
|---|---|---|
| committer | Alex Deucher <alexander.deucher@amd.com> | 2022-07-05 16:13:27 -0400 |
| commit | bc19909f19fdc8253d720d11c948935786fbfa08 (patch) | |
| tree | 103ada3d15e68421d06635373cf45f11dfd59d7f /tools/perf/scripts/python/syscall-counts.py | |
| parent | drm/amd/display: Program ACP related register (diff) | |
| download | linux-bc19909f19fdc8253d720d11c948935786fbfa08.tar.gz linux-bc19909f19fdc8253d720d11c948935786fbfa08.zip | |
drm/amd/display: Guard against ddc_pin being NULL for AUX
[Why]
In the case where we don't support DMUB aux but we have DPIA links
in the configuration we might try to message AUX using the legacy
path - where DDC pin is NULL. This causes a NULL pointer dereference.
[How]
Guard against NULL DDC pin, return a failure for aux engine acquire.
Reviewed-by: Michael Strauss <Michael.Strauss@amd.com>
Acked-by: Rodrigo Siqueira <Rodrigo.Siqueira@amd.com>
Signed-off-by: Nicholas Kazlauskas <nicholas.kazlauskas@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions
