summaryrefslogtreecommitdiff
path: root/linux-core
diff options
context:
space:
mode:
authorMichel Dänzer <michel@tungstengraphics.com>2006-08-31 18:30:55 +0200
committerMichel Dänzer <michel@tungstengraphics.com>2006-09-28 15:41:36 +0200
commit87c57cba1a70221fc570b253bf3b24682ef6b894 (patch)
tree868c7449cfc243baa770a3223b0df7eb57a057d9 /linux-core
parentd5a0f107511e128658e2d5e15bd7e6215c507f29 (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.
Diffstat (limited to 'linux-core')
0 files changed, 0 insertions, 0 deletions