diff options
| author | Wayne Lin <[email protected]> | 2024-07-31 17:04:44 +0800 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2024-08-13 10:32:56 -0400 |
| commit | 66e2d2d9a59f896def82a1c8684368be45cf4c06 (patch) | |
| tree | 7819602cc888fab1191875ec91a7fa5bf13e23e8 /tools/perf/scripts/python/flamegraph.py | |
| parent | 1b686053c06ffb9f4524b288110cf2a831ff7a25 (diff) | |
drm/amd/display: Check null pointer before try to access it
[why & how]
Make sure plane_state is not null before calling a function
that dereferences it. Besides, remove redundant codes.
Reviewed-by: Alex Hung <[email protected]>
Signed-off-by: Wayne Lin <[email protected]>
Signed-off-by: Tom Chung <[email protected]>
Tested-by: Daniel Wheeler <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/flamegraph.py')
0 files changed, 0 insertions, 0 deletions