[PATCH v3 03/25] drm: amdgpu: fix common struct sg_table related issues