aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c
diff options
context:
space:
mode:
authorChris Wilson <[email protected]>2017-02-12 21:53:43 +0000
committerJani Nikula <[email protected]>2017-02-16 09:59:13 +0000
commit636deb5b2277cf57bb0f5e00fc9687de9a96061e (patch)
tree8e707039cf5801b04e45b5216c50eef838b3c9b3 /drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c
parentdrm/i915/gvt: Disable access to stolen memory as a guest (diff)
downloadkernel-636deb5b2277cf57bb0f5e00fc9687de9a96061e.tar.gz
kernel-636deb5b2277cf57bb0f5e00fc9687de9a96061e.zip
drm/i915: Pass timeout==0 on to i915_gem_object_wait_fence()
The i915_gem_object_wait_fence() uses an incoming timeout=0 to query whether the current fence is busy or idle, without waiting. This can be used by the wait-ioctl to implement a busy query. Fixes: e95433c73a11 ("drm/i915: Rearrange i915_wait_request() accounting with callers") Testcase: igt/gem_wait/basic-busy-write-all Signed-off-by: Chris Wilson <[email protected]> Cc: Matthew Auld <[email protected]> Cc: Joonas Lahtinen <[email protected]> Cc: <[email protected]> # v4.10-rc1+ Cc: [email protected] Link: http://patchwork.freedesktop.org/patch/msgid/[email protected] Reviewed-by: Joonas Lahtinen <[email protected]> (cherry picked from commit d892e9398ecf6defc7972a62227b77dad6be20bd) Signed-off-by: Jani Nikula <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c')
0 files changed, 0 insertions, 0 deletions