summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/radeon/radeon_pm.c
diff options
context:
space:
mode:
authorJérôme Glisse <jglisse@redhat.com>2014-05-07 16:35:24 -0400
committerChristian König <christian.koenig@amd.com>2014-05-20 14:42:06 +0200
commit24f47acc78b0ab5e2201f859fe1f693ae90c7c83 (patch)
tree834a08f452e00713beb57ddedf22a212314ab219 /drivers/gpu/drm/radeon/radeon_pm.c
parent74ad54f249de39bc040cce7237b1b854a9c6f0ad (diff)
drm/radeon: avoid segfault on device open when accel is not working.
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>
Diffstat (limited to 'drivers/gpu/drm/radeon/radeon_pm.c')
0 files changed, 0 insertions, 0 deletions