]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit165af0f69622bd984f635ff12b62599eacd31ec1
tree250386798d2030cee22711de375957c2ea99aea4
parent640f59ff59ddafe851d6cf70ebe76e1c58bc354e
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