From: Alex Deucher Date: Mon, 27 Sep 2010 14:57:10 +0000 (-0400) Subject: drm/radeon/kms: fix potential segfault in r600_ioctl_wait_idle X-Git-Tag: v2.6.36-rc7~23^2~9 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e488459a0e131acc9e14df093cfee740bc431953;p=pandora-kernel.git drm/radeon/kms: fix potential segfault in r600_ioctl_wait_idle radeon_gem_wait_idle_ioctl can apparently get called prior to the vram page being set up or even if accel if false, so make sure it's valid before using it. Should fix: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=597636 https://bugs.freedesktop.org/show_bug.cgi?id=29834 Signed-off-by: Alex Deucher Cc: stable@kernel.org Signed-off-by: Dave Airlie --- Reading git-diff-tree failed