drm/amdgpu: use BACO reset if platform support (v2)
authorJim Qu <Jim.Qu@amd.com>
Wed, 7 Nov 2018 04:29:39 +0000 (12:29 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 25 Jan 2019 21:15:33 +0000 (16:15 -0500)
commite2b6d053b1077d6eef025e7869690c630ab29d0c
tree924998579b04a31f18b82d400384f9df89192856
parent3177b3c52f62e262c6a8eff19358ca128c26d518
drm/amdgpu: use BACO reset if platform support (v2)

It will fall back to use mode1 reset if platform does not support BACO
feature.

v2: squash in warning fix (Alex)

Signed-off-by: Jim Qu <Jim.Qu@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/soc15.c