commit | e488459a0e131acc9e14df093cfee740bc431953 | [log] [tgz] |
---|---|---|
author | Alex Deucher <alexdeucher@gmail.com> | Mon Sep 27 10:57:10 2010 -0400 |
committer | Dave Airlie <airlied@redhat.com> | Tue Sep 28 09:16:05 2010 +1000 |
tree | 2a98f3a7314a90fa2b894dd1042758e66076355f | |
parent | 31dfbc93923c0aaa0440b809f80ff2830c6a531a [diff] |
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 <alexdeucher@gmail.com> Cc: stable@kernel.org Signed-off-by: Dave Airlie <airlied@redhat.com>