diff options
author | Christian König <christian.koenig@amd.com> | 2019-03-27 11:34:24 +0100 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2019-03-27 22:41:04 -0500 |
commit | fda43ab68ce4de56c3cd3b488cd70496cd1135d7 (patch) | |
tree | 4243e0f736bfbd2b7777ae2a168c13e10b4f7487 /drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c | |
parent | 110aef572afccc8d18c8d1ad6cb027795ec01cda (diff) |
drm/amdgpu: don't put the root PD into the relocated list
Instead of skipping the root PD while processing the relocated list just never
put it on the list in the first place.
This avoids walking the list all together when the root PD is the only entry
and so also avoids trying to submit a zero sized IB to the SDMA.
Signed-off-by: Christian König <christian.koenig@amd.com>
Tested-by: Michel Dänzer <michel.daenzer@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c')
0 files changed, 0 insertions, 0 deletions