]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu: XGMI pstate switch initial support
authorshaoyunl <shaoyun.liu@amd.com>
Thu, 21 Feb 2019 21:30:25 +0000 (16:30 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 19 Mar 2019 20:36:48 +0000 (15:36 -0500)
commit483c761b31dd1d8bf16e673678c6047ba9e8c481
treef64c4de40d4e49ea3f11ba79dbc3e65bd514c2fa
parent14e3471a3ab90c73567bfbd7c3c00cc4b5d18f50
drm/amdgpu: XGMI pstate switch initial support

Driver vote low to high pstate switch whenever there is an outstanding
XGMI mapping request. Driver vote high to low pstate when all the
outstanding XGMI mapping is terminated.

Signed-off-by: shaoyunl <shaoyun.liu@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu.h
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
drivers/gpu/drm/amd/amdgpu/amdgpu_object.h
drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c
drivers/gpu/drm/amd/amdgpu/amdgpu_xgmi.c
drivers/gpu/drm/amd/amdgpu/amdgpu_xgmi.h