]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu: fix race in GEM VA map IOCTL v2
authorChristian König <christian.koenig@amd.com>
Fri, 27 Jan 2017 14:58:43 +0000 (15:58 +0100)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 2 Feb 2017 18:50:03 +0000 (13:50 -0500)
commit71ab199ec5881bcfb6dfbc95a811e9ba1e22cf2f
tree799aa6a9627fdade2632fbff8fc14d6d0900d7cc
parent96e37b571ba2afff9dcf9624ce6a9f3a7b01dc7f
drm/amdgpu: fix race in GEM VA map IOCTL v2

Somebody could try to free the bo_va between mapping and updating it.

v2: fix typos in comment

Signed-off-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c