diff options
author | Ben Widawsky <ben@bwidawsk.net> | 2012-06-05 15:24:25 -0700 |
---|---|---|
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2012-06-06 12:28:40 +0200 |
commit | 172cf15d18889313bf2c3bfb81fcea08369274ef (patch) | |
tree | e1d2c75b53548db0d4cf9385dbbd2949986f9e36 /drivers/gpu/drm | |
parent | eac1f14fd1e7243aa782ef85f2a217e0c3a709ad (diff) | |
download | linux-172cf15d18889313bf2c3bfb81fcea08369274ef.tar.gz linux-172cf15d18889313bf2c3bfb81fcea08369274ef.tar.bz2 linux-172cf15d18889313bf2c3bfb81fcea08369274ef.zip |
drm/i915: Add wait render timeout get param
Signed-off-by: Ben Widawsky <ben@bwidawsk.net>
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'drivers/gpu/drm')
-rw-r--r-- | drivers/gpu/drm/i915/i915_dma.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/gpu/drm/i915/i915_dma.c b/drivers/gpu/drm/i915/i915_dma.c index 262a74d1f852..97a5a5857f5b 100644 --- a/drivers/gpu/drm/i915/i915_dma.c +++ b/drivers/gpu/drm/i915/i915_dma.c @@ -1006,6 +1006,9 @@ static int i915_getparam(struct drm_device *dev, void *data, case I915_PARAM_HAS_ALIASING_PPGTT: value = dev_priv->mm.aliasing_ppgtt ? 1 : 0; break; + case I915_PARAM_HAS_WAIT_TIMEOUT: + value = 1; + break; default: DRM_DEBUG_DRIVER("Unknown parameter %d\n", param->param); |