Skip to content

Commit

Permalink
drm/amd/display: To modify the condition in indicating branch device
Browse files Browse the repository at this point in the history
[why]
The sink count change HPD_IRQ will be ignored if the branch device has only
DP DFP.

[how]
To remove the port type restriction.

Signed-off-by: Martin Tsai <martin.tsai@amd.com>
Acked-by: Bindu Ramamurthy <bindu.r@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
  • Loading branch information
Martin Tsai authored and Alex Deucher committed Dec 23, 2020
1 parent c2d61e3 commit 9413b23
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions drivers/gpu/drm/amd/display/dc/core/dc_link_dp.c
Original file line number Diff line number Diff line change
Expand Up @@ -3173,13 +3173,7 @@ static void get_active_converter_info(
}

/* DPCD 0x5 bit 0 = 1, it indicate it's branch device */
if (ds_port.fields.PORT_TYPE == DOWNSTREAM_DP) {
link->dpcd_caps.is_branch_dev = false;
}

else {
link->dpcd_caps.is_branch_dev = ds_port.fields.PORT_PRESENT;
}
link->dpcd_caps.is_branch_dev = ds_port.fields.PORT_PRESENT;

switch (ds_port.fields.PORT_TYPE) {
case DOWNSTREAM_VGA:
Expand Down

0 comments on commit 9413b23

Please sign in to comment.