diff options
author | 2021-06-08 09:19:30 +0200 | |
---|---|---|
committer | 2021-06-08 10:36:51 +0200 | |
commit | fc357bc8ebac978631b5f2572c9065771c78a631 (patch) | |
tree | 73b84df80cfd1bcd29d92017d8f61be28fbd867e /drivers/gpu/drm/amd/amdgpu/amdgpu_object.c | |
parent | drm/ttm: fix warning after moving resource to ghost obj (diff) | |
download | linux-dev-fc357bc8ebac978631b5f2572c9065771c78a631.tar.xz linux-dev-fc357bc8ebac978631b5f2572c9065771c78a631.zip |
drm/ttm: fix pipelined gutting v2
We need to make sure to allocate the sys_mem resource before the point
of no return.
v2: add missing return value checking, also handle idle case
Signed-off-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Thomas Hellström <thomas.hellstrom@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20210608081931.11339-1-christian.koenig@amd.com
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_object.c')
0 files changed, 0 insertions, 0 deletions