diff options
| author | Christian König <[email protected]> | 2016-05-04 08:20:01 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2016-05-11 16:31:18 +0000 |
| commit | 0ea54b9b6c4ebc04cc6f68246b03577a25dbd4bb (patch) | |
| tree | f9f9f4e15d258cc6ccb72799ff6b2238af6502ca /drivers/gpu/drm/amd/amdgpu/amdgpu.h | |
| parent | drm/amdgpu: two minor 80 char fixes (diff) | |
| download | kernel-0ea54b9b6c4ebc04cc6f68246b03577a25dbd4bb.tar.gz kernel-0ea54b9b6c4ebc04cc6f68246b03577a25dbd4bb.zip | |
drm/amdgpu: make the VMID owner always 64bit
Otherwise we could (in theory) run into problems on 32bit systems.
Signed-off-by: Christian König <[email protected]>
Reviewed-by: Chunming Zhou <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu.h')
| -rw-r--r-- | drivers/gpu/drm/amd/amdgpu/amdgpu.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu.h b/drivers/gpu/drm/amd/amdgpu/amdgpu.h index e42b0a357fb8..130c0a7c65d1 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu.h +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu.h @@ -897,7 +897,7 @@ struct amdgpu_vm_id { struct amdgpu_sync active; struct fence *last_flush; struct amdgpu_ring *last_user; - atomic_long_t owner; + atomic64_t owner; uint64_t pd_gpu_addr; /* last flushed PD/PT update */ |
