drm/amd/display: Extend Freesync over PCon support for more devices
authorSung Joon Kim <sungjoon.kim@amd.com>
Fri, 10 Feb 2023 19:39:49 +0000 (14:39 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 2 Mar 2023 03:44:38 +0000 (22:44 -0500)
[why]
More branch devices are able to support Freesync
over PCon so include them in the list of supporting devices.

[how]
Add more compatible PCon devices in the whitelist
for Freesync over Pcon.

Reviewed-by: Harry Wentland <Harry.Wentland@amd.com>
Acked-by: Qingqing Zhuo <qingqing.zhuo@amd.com>
Signed-off-by: Sung Joon Kim <sungjoon.kim@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_helpers.c

index 6fdc202..1583157 100644 (file)
@@ -1149,6 +1149,8 @@ static bool dm_is_freesync_pcon_whitelist(const uint32_t branch_dev_id)
 
        switch (branch_dev_id) {
        case DP_BRANCH_DEVICE_ID_0060AD:
+       case DP_BRANCH_DEVICE_ID_00E04C:
+       case DP_BRANCH_DEVICE_ID_90CC24:
                ret_val = true;
                break;
        default: