diff options
author | Christian König <christian.koenig@amd.com> | 2024-10-07 20:30:19 +0200 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2024-10-08 09:46:31 -0400 |
commit | 01b64bc063d014641631867a7e0edd8ac55282d4 (patch) | |
tree | b7d018a3a136243c777ee795339010ee0752f04f /drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c | |
parent | 73f65e6ce7d29b38d1e8dc5393d61613fe0a2d83 (diff) |
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: Christian König <christian.koenig@amd.com>
Fixes: fd69ef05029f ("drm/radeon: use GEM references instead of TTMs")
Acked-by: Alex Deucher <alexander.deucher@amd.com>
Tested-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c')
0 files changed, 0 insertions, 0 deletions