summaryrefslogtreecommitdiffstats
path: root/README
diff options
context:
space:
mode:
authorFlorian Mickler <florian@mickler.org>2009-04-06 22:55:41 +0200
committerEric Anholt <eric@anholt.net>2009-04-08 19:18:19 +0200
commit2bc43b5cf5158a26fa1328234795abed2dff5275 (patch)
tree0965b8d142a1a1c70d65be61f5478807fb8daff0 /README
parentdrm/i915: indicate framebuffer restore key in SysRq help message (diff)
downloadlinux-2bc43b5cf5158a26fa1328234795abed2dff5275.tar.xz
linux-2bc43b5cf5158a26fa1328234795abed2dff5275.zip
drm/i915: Fix use of uninitialized var in 40a5f0de
i915_gem_put_relocs_to_user returned an uninitialized value which got returned to userspace. This caused libdrm in my setup to never get out of a do{}while() loop retrying i915_gem_execbuffer. result was hanging X, overheating of cpu and 2-3gb of logfile-spam. This patch adresses the issue by 1. initializing vars in this file where necessary 2. correcting wrongly interpreted return values of copy_[from/to]_user Signed-off-by: Florian Mickler <florian@mickler.org> [anholt: cleanups of unnecessary changes, consistency in APIs] Signed-off-by: Eric Anholt <eric@anholt.net>
Diffstat (limited to 'README')
0 files changed, 0 insertions, 0 deletions