diff options
| author | Sung Lee <sung.lee@amd.com> | 2020-04-05 23:40:48 +0300 |
|---|---|---|
| committer | Alex Deucher <alexander.deucher@amd.com> | 2020-04-09 17:43:16 +0300 |
| commit | d5e27f072844f6097ab3305b3b7bee00709b953b (patch) | |
| tree | e64e0f8429b2ad5ce328c11fdfd2e3e0041a8aa3 /tools/perf/scripts/python/stackcollapse.py | |
| parent | c97c8d77b11fcf4c18c2f67dd3878781b1b5c2ff (diff) | |
| download | linux-d5e27f072844f6097ab3305b3b7bee00709b953b.tar.xz | |
drm/amd/display: Check power_down functions exist before calling
[WHY]
The power_down() function was only defined for specific asics and will
crash the system if it is called by an asic with eDP connected that does
not have it defined.
[HOW]
Add a check for the function's existence before calling it.
Signed-off-by: Sung Lee <sung.lee@amd.com>
Reviewed-by: Yongqiang Sun <yongqiang.sun@amd.com>
Acked-by: Rodrigo Siqueira <Rodrigo.Siqueira@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions
