drm/amdgpu: use common fences for VMID management v2
v2: add missing NULL check. Signed-off-by: Christian König <christian.koenig@amd.com> Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:

committed by
Alex Deucher

parent
8120b61fdf
commit
d52832986a
@@ -970,7 +970,7 @@ struct amdgpu_vm_id {
|
||||
/* last flushed PD/PT update */
|
||||
struct fence *flushed_updates;
|
||||
/* last use of vmid */
|
||||
struct amdgpu_fence *last_id_use;
|
||||
struct fence *last_id_use;
|
||||
};
|
||||
|
||||
struct amdgpu_vm {
|
||||
@@ -1003,7 +1003,7 @@ struct amdgpu_vm {
|
||||
};
|
||||
|
||||
struct amdgpu_vm_manager {
|
||||
struct amdgpu_fence *active[AMDGPU_NUM_VM];
|
||||
struct fence *active[AMDGPU_NUM_VM];
|
||||
uint32_t max_pfn;
|
||||
/* number of VMIDs */
|
||||
unsigned nvm;
|
||||
|
Reference in New Issue
Block a user