From: =?utf-8?q?Michel_D=C3=A4nzer?= Date: Tue, 24 Oct 2006 14:08:23 +0000 (+1000) Subject: drm: Make handling of dev_priv->vblank_pipe more robust. X-Git-Tag: v2.6.20-rc1~34^2~20^2~8 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5b51694aff705c465ef5941a99073036f3e444d9;p=pandora-kernel.git 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 --- Reading git-diff-tree failed