]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu: let bo_list handler start from 1
authormonk.liu <monk.liu@amd.com>
Mon, 27 Apr 2015 02:38:16 +0000 (10:38 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 4 Jun 2015 01:03:22 +0000 (21:03 -0400)
commit6222c3340ba75d08c88c6ed9a36719bc4a3a168e
tree4a1dd3446d5e9192088530dbc5c11b9ea012d151
parentdd44a07b4a2e21893a8fe972d79d9b92c7954c5d
drm/amdgpu: let bo_list handler start from 1

this could prevent mis-understanding, because libdrm side will consider
no bo_list created if handleis zero

Signed-off-by: monk.liu <monk.liu@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_bo_list.c