]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
drm/amd/display: Indirect buffer transport for FAMS2 commands
authorOleh Kuzhylnyi <okuzhyln@amd.com>
Thu, 24 Apr 2025 12:40:09 +0000 (14:40 +0200)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 3 Jun 2025 19:35:27 +0000 (15:35 -0400)
commitdb122ece325a3a19eeabf98e61db70fe890b4b5a
tree0d13c62437a6403194117a8e214a1e9d9f05e16d
parent71e17aedb465a8b2b7b6260d9fc85dddec04b341
drm/amd/display: Indirect buffer transport for FAMS2 commands

[Why]
The quantity and duration of FAMS2 commands are set to increase
in future products. This necessitates the implementation of a new
mechanism for chaining commands together, allowing all commands
to be processed within a single transaction.

[How]
The indirect buffer acts as a shared buffer on the driver side,
mapped to DMUB's internal CW7 address. Its source address and
size are sent through mailbox command to DMUB, triggering the
transaction.

Reviewed-by: Alvin Lee <alvin.lee2@amd.com>
Signed-off-by: Oleh Kuzhylnyi <okuzhyln@amd.com>
Signed-off-by: Wayne Lin <wayne.lin@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.c
drivers/gpu/drm/amd/display/dc/dc_dmub_srv.c
drivers/gpu/drm/amd/display/dmub/dmub_srv.h
drivers/gpu/drm/amd/display/dmub/src/dmub_srv.c