]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/amd/display: Use sync version of indirect register access.
authorJinZe.Xu <JinZe.Xu@amd.com>
Wed, 12 Mar 2025 10:02:16 +0000 (18:02 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 7 Apr 2025 19:18:31 +0000 (15:18 -0400)
commita8f83d0c2d2bd7c065df6ffa07c5feb2b560094a
tree50d8cde3e3a7671462b95a9255d73e266d591bbe
parentc82d84d1e46c9dd16050a3a5cc7639ddb3a01eb8
drm/amd/display: Use sync version of indirect register access.

[Why]
Access to indirect registers by DC and other components are not synchronized.

[How]
Use sync version of indirect register access.

Reviewed-by: Nicholas Kazlauskas <nicholas.kazlauskas@amd.com>
Signed-off-by: JinZe.Xu <JinZe.Xu@amd.com>
Signed-off-by: Aurabindo Pillai <aurabindo.pillai@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/clk_mgr/dcn315/dcn315_smu.c
drivers/gpu/drm/amd/display/dc/inc/reg_helper.h