OSDN Git Service

amdgpu: Unlock mutex if base_required is invalid
authorTom St Denis <tom.stdenis@amd.com>
Fri, 9 Oct 2015 14:36:04 +0000 (10:36 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 22 Oct 2015 16:35:14 +0000 (12:35 -0400)
commit988f31ecc29770a2648bf5c7d7779f1e500c196c
tree6f54cf185dbe8ccf1386e5a1269863bf342dd0b1
parentc745e541a9d8dfd3fb5e1ac57297e58d34d9328f
amdgpu: Unlock mutex if base_required is invalid

In the function amdgpu_vamgr_find_va() the function would return
without unlocking the mutex if the base_required offset was below
the va managers base offset.

Signed-off-by: Tom St Denis <tom.stdenis@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
amdgpu/amdgpu_vamgr.c