https://github.com/torvalds/linux
Revision 24f47acc78b0ab5e2201f859fe1f693ae90c7c83 authored by Jérôme Glisse on 07 May 2014, 20:35:24 UTC, committed by Christian König on 20 May 2014, 12:42:06 UTC
When accel is not working on device with virtual address space radeon
segfault because the ib buffer is NULL and trying to map it inside the
virtual address space trigger segfault. This patch only map the ib
buffer if accel is working.

Cc: <stable@vger.kernel.org>
Signed-off-by: Jérôme Glisse <jglisse@redhat.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Christian König <christian.koenig@amd.com>
1 parent 74ad54f
History
Tip revision: 24f47acc78b0ab5e2201f859fe1f693ae90c7c83 authored by Jérôme Glisse on 07 May 2014, 20:35:24 UTC
drm/radeon: avoid segfault on device open when accel is not working.
Tip revision: 24f47ac
File Mode Size
Documentation
arch
block
crypto
drivers
firmware
fs
include
init
ipc
kernel
lib
mm
net
samples
scripts
security
sound
tools
usr
virt
.gitignore -rw-r--r-- 1.1 KB
.mailmap -rw-r--r-- 4.4 KB
COPYING -rw-r--r-- 18.3 KB
CREDITS -rw-r--r-- 93.6 KB
Kbuild -rw-r--r-- 2.5 KB
Kconfig -rw-r--r-- 252 bytes
MAINTAINERS -rw-r--r-- 271.7 KB
Makefile -rw-r--r-- 50.5 KB
README -rw-r--r-- 18.3 KB
REPORTING-BUGS -rw-r--r-- 7.3 KB

README

back to top