drm/amd/display: Miss register MST encoder cbs
commit4fc6f65965481bd2cdb8827a6fd991ed076b1006
authorJerry (Fangzhi) Zuo <Jerry.Zuo@amd.com>
Fri, 3 Nov 2017 18:19:06 +0000 (3 14:19 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 14 Nov 2017 16:32:45 +0000 (14 11:32 -0500)
tree77f8215a25caf2c2c99b876e769f530ca2547617
parentfcb4019e090b959dbcbfc7bbbc1ebd99c924fa11
drm/amd/display: Miss register MST encoder cbs

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

Need to properly setup MST encoder cbs. Otherwise drm_device
encoder doesn't register its own cbs, leading to NULL
encoder->funcs in drm_atomic_helper_resume().

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_mst_types.c