diff options
author | Michel Dänzer <michel@tungstengraphics.com> | 2006-08-31 18:30:55 +0200 |
---|---|---|
committer | Michel Dänzer <michel@tungstengraphics.com> | 2006-09-29 12:55:08 +0200 |
commit | 4a3d270862f6dbc52ca3e16ba66fdb24667b2aa2 (patch) | |
tree | cc3345bc3426681903508f18145d4d4f658ab931 /bsd-core/drm_vm.c | |
parent | 1f3493f65ba0959e401191c648f57501216eeb0a (diff) |
Make handling of dev_priv->vblank_pipe more robust.
Initialize it to default value if it hasn't been set by the X server yet.
In i915_vblank_pipe_set(), only update dev_priv->vblank_pipe and call
i915_enable_interrupt() if the argument passed from userspace is valid to avoid
corrupting dev_priv->vblank_pipe on invalid arguments.
(cherry picked from 87c57cba1a70221fc570b253bf3b24682ef6b894 commit)
Diffstat (limited to 'bsd-core/drm_vm.c')
0 files changed, 0 insertions, 0 deletions