Skip to content
Commit 32fda565 authored by Christian König's avatar Christian König Committed by Alex Deucher
Browse files

drm/radeon: always set GEM function pointer



Make sure to always set the GEM function pointer even for in kernel
allocations. This fixes a NULL pointer deref caused by switching to GEM
references.

Signed-off-by: default avatarChristian König <christian.koenig@amd.com>
Fixes: fd69ef05 ("drm/radeon: use GEM references instead of TTMs")
Acked-by: default avatarAlex Deucher <alexander.deucher@amd.com>
Tested-by: default avatarHans de Goede <hdegoede@redhat.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
(cherry picked from commit 01b64bc0)
parent 79bc412e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment