]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu: fix kgd_hqd_load failing to update shadow_wptr
authorAndres Rodriguez <andresx7@gmail.com>
Thu, 13 Apr 2017 17:55:41 +0000 (13:55 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 31 May 2017 20:48:49 +0000 (16:48 -0400)
commit5259461212d790f83eeb759532708aeee25d690d
tree8d20dace7ea9fab016950c9fa28668f7f9722d32
parentbe8dc3fede00c7b3637575d619cd5456c126db62
drm/amdgpu: fix kgd_hqd_load failing to update shadow_wptr

The return value from copy_form_user is 0 for the success case.

Reviewed-by: Felix Kuehling <Felix.Kuehling@amd.com>
Signed-off-by: Andres Rodriguez <andresx7@gmail.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gfx_v8.c