]> www.infradead.org Git - users/willy/linux.git/commit
drm/amd/display: Send DP_TOTAL_LTTPR_CNT during detection if LTTPR is present
authorMichael Strauss <michael.strauss@amd.com>
Tue, 28 Nov 2023 15:31:12 +0000 (10:31 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 27 Jun 2024 21:10:36 +0000 (17:10 -0400)
commitd03415f60b3401914fabd27a20017f8056fd5e40
treedcd7a4faafb03cfc891617f29d8fbc45df3a3123
parentee8287e068a3995b0f8001dd6931e221dfb7c530
drm/amd/display: Send DP_TOTAL_LTTPR_CNT during detection if LTTPR is present

[WHY]
New register field added in DP2.1 SCR, needed for auxless ALPM

[HOW]
Echo value read from 0xF0007 back to sink

Reviewed-by: Wenjing Liu <wenjing.liu@amd.com>
Cc: Mario Limonciello <mario.limonciello@amd.com>
Cc: Alex Deucher <alexander.deucher@amd.com>
Cc: stable@vger.kernel.org
Signed-off-by: Alex Hung <alex.hung@amd.com>
Signed-off-by: Michael Strauss <michael.strauss@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/link/protocols/link_dp_capability.c
drivers/gpu/drm/amd/display/include/dpcd_defs.h