diff options
author | 2016-03-14 15:46:06 +0100 | |
---|---|---|
committer | 2016-03-16 18:00:10 -0400 | |
commit | 742c085fa86345ae9de259c7f15c652322da4e83 (patch) | |
tree | c76c88963dc7c00ed38d23ae01d02fd4dc9c3708 /drivers/gpu/drm/amd/amdgpu/amdgpu.h | |
parent | drm/amdgpu: remove amdgpu_fence_is_signaled (diff) | |
download | wireguard-linux-742c085fa86345ae9de259c7f15c652322da4e83.tar.xz wireguard-linux-742c085fa86345ae9de259c7f15c652322da4e83.zip |
drm/amdgpu: switch back to 32bit hw fences v2
We don't need to extend them to 64bits any more, so avoid the extra overhead.
v2: update commit message.
Signed-off-by: Christian König <christian.koenig@amd.com>
Acked-by: Alex Deucher <alexander.deucher@amd.com>
Reviewed-by: Chunming Zhou <david1.zhou@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu.h')
-rw-r--r-- | drivers/gpu/drm/amd/amdgpu/amdgpu.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu.h b/drivers/gpu/drm/amd/amdgpu/amdgpu.h index c91156c7bda1..31fd7ee62e69 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu.h +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu.h @@ -386,8 +386,8 @@ struct amdgpu_fence_driver { uint64_t gpu_addr; volatile uint32_t *cpu_addr; /* sync_seq is protected by ring emission lock */ - uint64_t sync_seq; - atomic64_t last_seq; + uint32_t sync_seq; + atomic_t last_seq; bool initialized; struct amdgpu_irq_src *irq_src; unsigned irq_type; |