OSDN Git Service

drm/amd/display: Do not disable pipe split if mode is not supported
authorSung Lee <sung.lee@amd.com>
Wed, 22 Apr 2020 22:07:48 +0000 (18:07 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 28 Apr 2020 20:17:00 +0000 (16:17 -0400)
commit1dfedb39d38f813357885e19badd1971c17f79a7
tree250386798d2030cee22711de375957c2ea99aea4
parent1349f6fc334b3a3d7a338c70da07a3e0450da5c5
drm/amd/display: Do not disable pipe split if mode is not supported

[WHY]
If mode is not supported, pipe split should not be disabled.
This may cause more modes to fail.

[HOW]
Check for mode support before disabling pipe split.

This commit was previously reverted as it was thought to
have problems, but those issues have been resolved.

Signed-off-by: Sung Lee <sung.lee@amd.com>
Reviewed-by: Yongqiang Sun <yongqiang.sun@amd.com>
Acked-by: Aurabindo Pillai <aurabindo.pillai@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c