diff options
author | Alan Liu <HaoPing.Liu@amd.com> | 2022-12-02 19:10:34 +0800 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2023-01-03 16:51:12 -0500 |
commit | cbd8f20b4833f90ee5721e7f1f3a65cd93c622d8 (patch) | |
tree | b647ae623cbbba76dcf9cf32fc8171aeefd62303 /drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c | |
parent | 878a3c004c0e49bb2d4e552899aaa98f9fad309e (diff) | |
download | linux-cbd8f20b4833f90ee5721e7f1f3a65cd93c622d8.tar.gz linux-cbd8f20b4833f90ee5721e7f1f3a65cd93c622d8.tar.bz2 linux-cbd8f20b4833f90ee5721e7f1f3a65cd93c622d8.zip |
drm/amd/display: Improvements in secure display
[Why]
- Need error message when failing to allocating secure_display_ctx.
- Need to check if secure display context in psp is initialized or not
before using it.
[How]
- Add error message when memory allocation fail.
- Add check before accessing psp secure display context.
Acked-by: Aurabindo Pillai <aurabindo.pillai@amd.com>
Signed-off-by: Alan Liu <HaoPing.Liu@amd.com>
Reviewed-by: Wayne Lin <Wayne.Lin@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c')
0 files changed, 0 insertions, 0 deletions