drm/msm: Call drm_prime_gem_destroy to clean up imported GEM object
authorjilai wang <jilaiw@codeaurora.org>
Tue, 7 Apr 2015 17:51:32 +0000 (13:51 -0400)
committerRob Clark <robdclark@gmail.com>
Thu, 11 Jun 2015 17:11:02 +0000 (13:11 -0400)
commitf28730c84fa987ba51e164cc4ecf2dac8d6dace1
tree3847043140c3e6aa9990bd1c6f893a8d90a55fbc
parent07549dfbd9f218496eebf7d732bf3ab1c95882c2
drm/msm: Call drm_prime_gem_destroy to clean up imported GEM object

If the GEM object is imported, drm_prime_gem_destroy needs to be
called to clean up dma buffer related information.

Signed-off-by: Jilai Wang <jilaiw@codeaurora.org>
Signed-off-by: Rob Clark <robdclark@gmail.com>
drivers/gpu/drm/msm/msm_gem.c