]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/display: Fix dc_version detect for dcn314
authorRoman Li <roman.li@amd.com>
Thu, 21 Jul 2022 21:21:12 +0000 (17:21 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 25 Jul 2022 13:31:05 +0000 (09:31 -0400)
commit997dc1f25eb2944f4933d7fa58d63ce115a3a15a
tree228460b6d63990c0d0f22e1d3baa08d22302858a
parentb6d47e6551ff9908fbf71bc5b8c1ef7ad8266a75
drm/amd/display: Fix dc_version detect for dcn314

[Why]
While parsing dc_version redundant check leads to
invalid dc_version for dcn314.

[How]
Remove redundant check

Fixes: f53fdd25b542 ("drm/amd/display: Enable DCN314 in DC")
Signed-off-by: Roman Li <roman.li@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/core/dc_resource.c