diff options
author | Alan Liu <[email protected]> | 2022-12-02 19:10:34 +0800 |
---|---|---|
committer | Alex Deucher <[email protected]> | 2023-01-03 16:51:12 -0500 |
commit | cbd8f20b4833f90ee5721e7f1f3a65cd93c622d8 (patch) | |
tree | b647ae623cbbba76dcf9cf32fc8171aeefd62303 /tools/perf/scripts/python/sctop.py | |
parent | 878a3c004c0e49bb2d4e552899aaa98f9fad309e (diff) |
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 <[email protected]>
Signed-off-by: Alan Liu <[email protected]>
Reviewed-by: Wayne Lin <[email protected]>
Tested-by: Daniel Wheeler <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/sctop.py')
0 files changed, 0 insertions, 0 deletions