diff options
author | Charlene Liu <charlene.liu@amd.com> | 2023-05-19 20:43:30 -0400 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2023-06-09 12:49:56 -0400 |
commit | 389c6b3e120303715c018d1bfc7bab02b50ca3f4 (patch) | |
tree | 7fe4fb5eba59c6dd8a8392447bd08b6c6a9dbbce /drivers/cdx/controller/mcdi_functions.h | |
parent | 3ffb193969c57afd4096cfb107ca2cc3bb0c55d9 (diff) |
drm/amd/display: add NULL pointer check
[why]
check dmub_Srv exist or not before accessing dmub.
Acked-by: Stylon Wang <stylon.wang@amd.com>
Signed-off-by: Charlene Liu <charlene.liu@amd.com>
Reviewed-by: Zhan Liu <Zhan.Liu@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/cdx/controller/mcdi_functions.h')
0 files changed, 0 insertions, 0 deletions