aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.h
diff options
context:
space:
mode:
authorLuben Tuikov <[email protected]>2022-12-10 07:51:19 +0000
committerAlex Deucher <[email protected]>2022-12-14 21:48:00 +0000
commit7554886daa31eacc8e7fac9e15bbce67d10b8f1f (patch)
treea43c0fb3d8cce7bfd3ae9ccf48b34475d1744f09 /drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.h
parentdrm/amdgpu: Check if fru_addr is not NULL (v2) (diff)
downloadkernel-7554886daa31eacc8e7fac9e15bbce67d10b8f1f.tar.gz
kernel-7554886daa31eacc8e7fac9e15bbce67d10b8f1f.zip
drm/amdgpu: Fix size validation for non-exclusive domains (v4)
Fix amdgpu_bo_validate_size() to check whether the TTM domain manager for the requested memory exists, else we get a kernel oops when dereferencing "man". v2: Make the patch standalone, i.e. not dependent on local patches. v3: Preserve old behaviour and just check that the manager pointer is not NULL. v4: Complain if GTT domain requested and it is uninitialized--most likely a bug. Cc: Alex Deucher <[email protected]> Cc: Christian König <[email protected]> Cc: AMD Graphics <[email protected]> Signed-off-by: Luben Tuikov <[email protected]> Reviewed-by: Christian König <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.h')
0 files changed, 0 insertions, 0 deletions