Skip to content

Commit 0f8e718

Browse files
Lawstorant1Naim
authored andcommitted
drm/amd/display: Add CH7218 PCON ID
[Why] Chrontel CH7218 found in Ugreen DP -> HDMI 2.1 adapter (model 85564) works perfectly with VRR after testing. VRR and FreeSync compatibility is explicitly advertised as a feature so it's addition is a formality. Support FreeSync info packet passthrough and "generic" HDMI VRR. [How] Add CH7218's ID to dm_helpers_is_vrr_pcon_allowed() Closes: https://gitlab.freedesktop.org/drm/amd/-/issues/4773 Signed-off-by: Tomasz Pakuła <tomasz.pakula.oficjalny@gmail.com> Reviewed-by: Harry Wentland <harry.wentland@amd.com>
1 parent 40c0cee commit 0f8e718

2 files changed

Lines changed: 2 additions & 0 deletions

File tree

drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_helpers.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1404,6 +1404,7 @@ bool dm_helpers_is_vrr_pcon_allowed(const struct dc_link *link, const struct drm
14041404
case DP_BRANCH_DEVICE_ID_0060AD:
14051405
case DP_BRANCH_DEVICE_ID_00E04C:
14061406
case DP_BRANCH_DEVICE_ID_90CC24:
1407+
case DP_BRANCH_DEVICE_ID_2B02F0:
14071408
return true;
14081409
}
14091410

drivers/gpu/drm/amd/display/include/ddc_service_types.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@
3636
#define DP_BRANCH_DEVICE_ID_006037 0x006037
3737
#define DP_BRANCH_DEVICE_ID_001CF8 0x001CF8
3838
#define DP_BRANCH_DEVICE_ID_0060AD 0x0060AD
39+
#define DP_BRANCH_DEVICE_ID_2B02F0 0x2B02F0 /* Chrontel CH7218 */
3940
#define DP_BRANCH_HW_REV_10 0x10
4041
#define DP_BRANCH_HW_REV_20 0x20
4142

0 commit comments

Comments
 (0)