diff options
author | Christian König <christian.koenig@amd.com> | 2018-07-30 13:46:04 +0200 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2018-07-31 16:58:18 -0500 |
commit | 81c6dabcc990c341793368db985ee8aca5713b16 (patch) | |
tree | ffde7eaed1086511fc2a8bfc9f2270dc556399d1 /drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c | |
parent | 4a8c21a1e9b3c35b21c5a4a4c16a009a193389bd (diff) | |
download | linux-81c6dabcc990c341793368db985ee8aca5713b16.tar.bz2 |
drm/amdgpu: always recreate bo_list
The bo_list handle is allocated by OP_CREATE, so in OP_UPDATE here we just
re-create the bo_list object and replace the handle. This way we don't
need locking to protect the bo_list because it's always re-created when
changed.
Signed-off-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Chunming Zhou <david1.zhou@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c')
0 files changed, 0 insertions, 0 deletions