]> git.ipfire.org Git - thirdparty/kernel/stable.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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 5 Jul 2024 07:34:03 +0000 (09:34 +0200)
commit89d8a851543e1aab6ea5c8a06d02dbe982948508
treef9c395ec753aaeda8693f00dd7d705fcb9190656
parent7ece609b0ce7a7ea8acdf512a77d1fee26621637
drm/amd/display: Send DP_TOTAL_LTTPR_CNT during detection if LTTPR is present

commit 2ec6c7f802332d1eff16f03e7c757f1543ee1183 upstream.

[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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/gpu/drm/amd/display/dc/link/protocols/link_dp_capability.c
drivers/gpu/drm/amd/display/include/dpcd_defs.h