]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
drm/amd/display: Avoid to do MCCS transaction if unnecessary
authorWayne Lin <Wayne.Lin@amd.com>
Wed, 11 Mar 2026 08:11:57 +0000 (16:11 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 17 Apr 2026 19:21:08 +0000 (15:21 -0400)
commit8dc88c6a5948c9565f4901f2a62c74306a8eda8d
treef16b32da288a9b9664fadc17b7069c4704286bee
parent602b8ef9d2a607c6028c6b9d8e174b2e859dd769
drm/amd/display: Avoid to do MCCS transaction if unnecessary

We don't have to do MCCS/DDCCI transactions with sink side every time by calling
get_modes(). Limit it to be operated when hotplug occurs.

Reviewed-by: Harry Wentland <harry.wentland@amd.com>
Signed-off-by: Wayne Lin <Wayne.Lin@amd.com>
Signed-off-by: Roman Li <roman.li@amd.com>
Tested-by: Dan Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.h
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_mst_types.c