projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4041b85
)
drm/i915: Disable high-precision vblank timestamping for UMS
author
Chris Wilson
<
[email protected]
>
Sun, 23 Jan 2011 10:45:14 +0000
(10:45 +0000)
committer
Chris Wilson
<
[email protected]
>
Mon, 24 Jan 2011 18:26:31 +0000
(18:26 +0000)
We only have sufficient information for accurate (sub-frame) timestamping
when the modesetting is under our control.
Reported-by: Chris Clayton <
[email protected]
>
Tested-by: Chris Clayton <
[email protected]
>
Reviewed-by: Mario Kleiner <
[email protected]
>
Signed-off-by: Chris Wilson <
[email protected]
>
drivers/gpu/drm/i915/i915_drv.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/i915/i915_drv.c
b/drivers/gpu/drm/i915/i915_drv.c
index 59eb19b13b3f95b502eacb6ca786766765c4beea..66796bb82d3e540b1db6d356308916a534be22b5 100644
(file)
--- a/
drivers/gpu/drm/i915/i915_drv.c
+++ b/
drivers/gpu/drm/i915/i915_drv.c
@@
-752,6
+752,9
@@
static int __init i915_init(void)
driver.driver_features &= ~DRIVER_MODESET;
#endif
+ if (!(driver.driver_features & DRIVER_MODESET))
+ driver.get_vblank_timestamp = NULL;
+
return drm_init(&driver);
}