diff options
author | 2006-10-25 00:08:23 +1000 | |
---|---|---|
committer | 2006-12-07 15:53:30 +1100 | |
commit | 5b51694aff705c465ef5941a99073036f3e444d9 (patch) | |
tree | 8e5e6b97696da7c23de2e9f9df0ffbc1660d9f49 /lib/bitrev.c | |
parent | drm: DRM_I915_VBLANK_SWAP ioctl: Take drm_vblank_seq_type_t instead (diff) | |
download | wireguard-linux-5b51694aff705c465ef5941a99073036f3e444d9.tar.xz wireguard-linux-5b51694aff705c465ef5941a99073036f3e444d9.zip |
drm: 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.
Signed-off-by: Dave Airlie <airlied@linux.ie>
Diffstat (limited to 'lib/bitrev.c')
0 files changed, 0 insertions, 0 deletions