diff options
author | Jesse Barnes <jbarnes@virtuousgeek.org> | 2009-01-08 10:42:15 -0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2009-03-23 14:55:30 -0700 |
commit | d60104ad4ede25a065bddcd3b34befdc68f59444 (patch) | |
tree | 7f99d1295509fc3461fe0cc990b87f0662e09120 /kernel/sched_cpupri.c | |
parent | 01e27a293ece260b0a40a61195d2e2ce046c565b (diff) | |
download | linux-stable-d60104ad4ede25a065bddcd3b34befdc68f59444.tar.gz |
drm/i915: don't enable vblanks on disabled pipes
commit 71e0ffa599f54058d9b8724b4b14d0486751681d upstream.
In some cases userland may be confused and try to wait on vblank events from
pipes that aren't actually enabled. We shouldn't allow this, so return
-EINVAL if the pipe isn't on.
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Signed-off-by: Eric Anholt <eric@anholt.net>
Signed-off-by: Dave Airlie <airlied@linux.ie>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'kernel/sched_cpupri.c')
0 files changed, 0 insertions, 0 deletions