diff options
author | Nirmoy Das <nirmoy.das@amd.com> | 2021-03-08 14:00:06 +0100 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2021-04-09 16:45:12 -0400 |
commit | 9fd5543e9552acff859af7f154bd3402b7983dc5 (patch) | |
tree | 91a97299d90c85cb85cc538018ea8d376df0b3b2 /drivers/gpu/drm/amd/amdgpu/ObjectID.h | |
parent | 87cc7f9ebf7ce10f82250002d667ef3e93a79d44 (diff) |
drm/amdgpu: allow variable BO struct creation
Allow allocating BO structures with different structure size
than struct amdgpu_bo.
v2: Check bo_ptr_size in all amdgpu_bo_create() caller.
Signed-off-by: Nirmoy Das <nirmoy.das@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/ObjectID.h')
0 files changed, 0 insertions, 0 deletions