aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorWayne Lin <[email protected]>2024-07-31 17:04:44 +0800
committerAlex Deucher <[email protected]>2024-08-13 10:32:56 -0400
commit66e2d2d9a59f896def82a1c8684368be45cf4c06 (patch)
tree7819602cc888fab1191875ec91a7fa5bf13e23e8 /tools/perf/scripts/python
parent1b686053c06ffb9f4524b288110cf2a831ff7a25 (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')
0 files changed, 0 insertions, 0 deletions