projects
/
platform
/
upstream
/
libdrm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3e8918a
)
put back some of Dave's code related to vblank support - accidentally
author
Alan Hourihane
<alanh@fairlite.demon.co.uk>
Tue, 24 Jan 2006 21:16:54 +0000
(21:16 +0000)
committer
Alan Hourihane
<alanh@fairlite.demon.co.uk>
Tue, 24 Jan 2006 21:16:54 +0000
(21:16 +0000)
reverted.
shared-core/i915_dma.c
patch
|
blob
|
history
diff --git
a/shared-core/i915_dma.c
b/shared-core/i915_dma.c
index
5418819
..
1de8cac
100644
(file)
--- a/
shared-core/i915_dma.c
+++ b/
shared-core/i915_dma.c
@@
-679,6
+679,9
@@
static int i915_getparam(DRM_IOCTL_ARGS)
case I915_PARAM_ALLOW_BATCHBUFFER:
value = dev_priv->allow_batchbuffer ? 1 : 0;
break;
+ case I915_PARAM_LAST_DISPATCH:
+ value = READ_BREADCRUMB(dev_priv);
+ break;
default:
DRM_ERROR("Unkown parameter %d\n", param.param);
return DRM_ERR(EINVAL);