diff options
author | Wayne Lin <wayne.lin@amd.com> | 2024-05-14 18:10:16 +0800 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2024-06-14 15:23:42 -0400 |
commit | 028383b64da2c8c59d0f049c68c816b634d98641 (patch) | |
tree | ff6583a20b3ca05b480c77bb6d8f3fcc18b8aa0a /drivers/gpu/drm/amd/amdgpu/amdgpu_mca.c | |
parent | a878304276b8326442bdd1a192e33c1b8bc99778 (diff) |
drm/amd/display: Change the order of setting DP_IS_USB_C flag
[Why]
enc10->base.features.flags.bits.DP_IS_USB_C will be overwritten if we set it
before initializing enc10->base.features
[How]
Determine DP_IS_USB_C after enc10->base.features is initialized. Besides,
bp_cap_info.DP_IS_USB_C will never be set in get_connector_speed_cap_info().
Remove the redudant code.
Reviewed-by: Roman Li <roman.li@amd.com>
Acked-by: Zaeem Mohamed <zaeem.mohamed@amd.com>
Signed-off-by: Wayne Lin <wayne.lin@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_mca.c')
0 files changed, 0 insertions, 0 deletions