]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/display: Check aux channel before MST resume
authorJerry (Fangzhi) Zuo <Jerry.Zuo@amd.com>
Fri, 3 Nov 2017 20:04:34 +0000 (16:04 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 28 Nov 2017 22:54:58 +0000 (17:54 -0500)
commita105bc9f8d85659b8ca994a833adf2776c0978a8
tree1c0e388a756773ef36b25d3d584e6a5dbebc5245
parent13d18fc701cae0553c00e6a1e07130dfa3097db4
drm/amd/display: Check aux channel before MST resume

It is to fix: MST display failed to resume from S3

At the beginning of resume from S3, need to check if mgr->aux is
NULL. Fake MST encoder doesn't have real aux channel.

Signed-off-by: Jerry (Fangzhi) Zuo <Jerry.Zuo@amd.com>
Reviewed-by: Roman Li <Roman.Li@amd.com>
Acked-by: Harry Wentland <harry.wentland@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c