From: Dave Airlie
calling drm_gem_handle_delete would cause an attempt to retake
the prime lock.
move code around so we never need to do that. This patch allocates
the member structure early, so there is no failure path that
requires calling drm_gem_handle_delete.
Signed-off-by: Dave Airlie
--
On Thu, Oct 15, 2015 at 11:51:41AM +1000, Dave Airlie wrote:
> From: Dave Airlie
>
> calling drm_gem_handle_delete would cause an attempt to retake
> the prime lock.
>
> move code around so we never need to do that. This patch allocates
> the member structure early, so there is no failure path t