]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
drm/amd/powerplay: issue proper hdp flush for table transferring
authorEvan Quan <evan.quan@amd.com>
Fri, 3 Jan 2020 06:24:56 +0000 (14:24 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 7 Jan 2020 17:01:48 +0000 (12:01 -0500)
commite0aa4a92f76b8b1a361f6ae6b0a51854e3113416
tree4b35bb9b0d753deac3c253420fc6e967625e4b9f
parent29a45960647b243af5f2aa73fd7a822ef3db33eb
drm/amd/powerplay: issue proper hdp flush for table transferring

Guard the content consistence between the view of GPU and CPU
during the table transferring.

Signed-off-by: Evan Quan <evan.quan@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/powerplay/amdgpu_smu.c
drivers/gpu/drm/amd/powerplay/smumgr/smu10_smumgr.c
drivers/gpu/drm/amd/powerplay/smumgr/vega10_smumgr.c
drivers/gpu/drm/amd/powerplay/smumgr/vega12_smumgr.c
drivers/gpu/drm/amd/powerplay/smumgr/vega20_smumgr.c