summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu.h
diff options
context:
space:
mode:
authorChristian König <christian.koenig@amd.com>2016-02-11 15:48:30 +0100
committerAlex Deucher <alexander.deucher@amd.com>2016-02-16 17:24:07 -0500
commitc3874b758ad52708ffdbab3e7c58e70167ce5024 (patch)
treed89f00c16563e854584c47ea144b5e2e7633bafd /drivers/gpu/drm/amd/amdgpu/amdgpu.h
parent6800e2ea2e74635e5386fc4bb43b0b69edd85a19 (diff)
downloadlwn-c3874b758ad52708ffdbab3e7c58e70167ce5024.tar.gz
lwn-c3874b758ad52708ffdbab3e7c58e70167ce5024.zip
drm/amdgpu: stop blocking for page filp fences
Just register an callback and reschedule the work item if necessary. Signed-off-by: Christian König <christian.koenig@amd.com> Acked-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu.h')
-rw-r--r--drivers/gpu/drm/amd/amdgpu/amdgpu.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu.h b/drivers/gpu/drm/amd/amdgpu/amdgpu.h
index 588e86c7c5cc..fc995b45fa8f 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu.h
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu.h
@@ -761,6 +761,7 @@ struct amdgpu_flip_work {
struct fence *excl;
unsigned shared_count;
struct fence **shared;
+ struct fence_cb cb;
};