]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/display: fix is odm head pipe logic
authorDmytro Laktyushkin <Dmytro.Laktyushkin@amd.com>
Tue, 26 Mar 2019 17:26:37 +0000 (13:26 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 10 Apr 2019 18:53:28 +0000 (13:53 -0500)
commitd27c4f5efc3ccd22949a2b911a121b21bbe95e8e
treeac47ec82a5faaf5cfcf6d4fa3b604bc59a2c9583
parent9ee4c48c6326894c486e498c7bd9ef0cfdadd0d8
drm/amd/display: fix is odm head pipe logic

Simply return true/false, don't iterate up the tree.

Signed-off-by: Dmytro Laktyushkin <Dmytro.Laktyushkin@amd.com>
Reviewed-by: Nikola Cornij <Nikola.Cornij@amd.com>
Acked-by: Leo Li <sunpeng.li@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/core/dc_resource.c