aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_sched.c
diff options
context:
space:
mode:
authorDennis Li <[email protected]>2020-08-18 10:44:17 +0000
committerAlex Deucher <[email protected]>2020-08-24 16:24:14 +0000
commitd95e8e97e2d522b7ebb1d5a64c01d8de307621dc (patch)
tree5ca2493780439920055a00a73e5584a81de62a5f /drivers/gpu/drm/amd/amdgpu/amdgpu_sched.c
parentdrm/amdgpu: refine message print for devices of hive (diff)
downloadkernel-d95e8e97e2d522b7ebb1d5a64c01d8de307621dc.tar.gz
kernel-d95e8e97e2d522b7ebb1d5a64c01d8de307621dc.zip
drm/amdgpu: refine create and release logic of hive info
Change to dynamically create and release hive info object, which help driver support more hives in the future. v2: Change to save hive object pointer in adev, to avoid locking xgmi_mutex every time when calling amdgpu_get_xgmi_hive. v3: 1. Change type of hive object pointer in adev from void* to amdgpu_hive_info*. 2. remove unnecessary variable initialization. Reviewed-by: Hawking Zhang <[email protected]> Signed-off-by: Dennis Li <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_sched.c')
0 files changed, 0 insertions, 0 deletions