diff options
author | Philip Yang <Philip.Yang@amd.com> | 2023-10-03 18:37:40 +0300 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2023-10-05 01:40:30 +0300 |
commit | 23de7616f35800412a2c4e4f7398c5601488d1aa (patch) | |
tree | b079d01ddeb2282b03216a0511a3b85aa35f7f2a /drivers/gpu/drm/amd/display | |
parent | fdac89096666ef80691994391c7ba7f03520797a (diff) | |
download | linux-23de7616f35800412a2c4e4f7398c5601488d1aa.tar.xz |
drm/amdkfd: Fix EXT_COHERENT memory allocation crash
If there is no VRAM domain, bo_node is NULL and this causes crash.
Refactor the change, and use the module parameter as higher privilege.
Need another patch to support override PTE flag on APU.
Fixes: 5f248462c69d ("drm/amdgpu: Add EXT_COHERENT memory allocation flags")
Signed-off-by: Philip Yang <Philip.Yang@amd.com>
Reviewed-by: Felix Kuehling <Felix.Kuehling@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/display')
0 files changed, 0 insertions, 0 deletions