diff options
author | Aric Cyr <aric.cyr@amd.com> | 2020-01-22 06:50:13 +0300 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2020-02-11 23:07:03 +0300 |
commit | 2b63d0ec0daf79ba503fa8bfa25e07dc3da274f3 (patch) | |
tree | 2e810bb7a16fe3f34b46f24eede5cff58e629fe3 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | aad927b5a863178a9d921044e52d66e0ccf0aff9 (diff) | |
download | linux-2b63d0ec0daf79ba503fa8bfa25e07dc3da274f3.tar.xz |
drm/amd/display: Check engine is not NULL before acquiring
[Why]
Engine can be NULL in some cases, so we must not acquire it.
[How]
Check for NULL engine before acquiring.
Signed-off-by: Aric Cyr <aric.cyr@amd.com>
Reviewed-by: Harry Wentland <harry.wentland@amd.com>
Acked-by: Bhawanpreet Lakha <Bhawanpreet.Lakha@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions