aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu.h
diff options
context:
space:
mode:
authorChristian König <[email protected]>2016-02-11 14:48:30 +0000
committerAlex Deucher <[email protected]>2016-02-16 22:24:07 +0000
commitc3874b758ad52708ffdbab3e7c58e70167ce5024 (patch)
treed89f00c16563e854584c47ea144b5e2e7633bafd /drivers/gpu/drm/amd/amdgpu/amdgpu.h
parentdrm/amdgpu: stop calling amdgpu_gpu_reset from the flip code (diff)
downloadkernel-c3874b758ad52708ffdbab3e7c58e70167ce5024.tar.gz
kernel-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 <[email protected]> Acked-by: Alex Deucher <[email protected]>
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;
};