OSDN Git Service

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)
commit77299956e8867a4cc19c5fd41b797c5152aad1dd
tree228460b6d63990c0d0f22e1d3baa08d22302858a
parent5085e0361f5a3675fc0d0919f7b69aded453ceb7
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: ee7b62e127c8 ("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