diff options
| author | Aric Cyr <aric.cyr@amd.com> | 2020-01-21 22:50:13 -0500 |
|---|---|---|
| committer | Alex Deucher <alexander.deucher@amd.com> | 2020-02-06 15:04:37 -0500 |
| commit | 28e7a7f4fb4b9dc364a054ae01b87f7111d5ba2d (patch) | |
| tree | 485cc61827be75017f8a0a27f39b519f0610f210 /tools/perf/scripts/python/bin | |
| parent | 84fc79899ee7a20b65e91b533b63530141896f8c (diff) | |
| download | linux-28e7a7f4fb4b9dc364a054ae01b87f7111d5ba2d.tar.gz linux-28e7a7f4fb4b9dc364a054ae01b87f7111d5ba2d.zip | |
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/bin')
0 files changed, 0 insertions, 0 deletions
