commit | 28e7a7f4fb4b9dc364a054ae01b87f7111d5ba2d | [log] [tgz] |
---|---|---|
author | Aric Cyr <aric.cyr@amd.com> | Tue Jan 21 22:50:13 2020 -0500 |
committer | Alex Deucher <alexander.deucher@amd.com> | Thu Feb 06 15:04:37 2020 -0500 |
tree | 485cc61827be75017f8a0a27f39b519f0610f210 | |
parent | 84fc79899ee7a20b65e91b533b63530141896f8c [diff] |
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>