video: tegra: dc: detach from dmabuf
authorAlex Waterman <alexw@nvidia.com>
Fri, 27 Sep 2013 17:02:25 +0000 (10:02 -0700)
committerAjay Nandakumar <anandakumarm@nvidia.com>
Thu, 3 Oct 2013 13:47:39 +0000 (18:47 +0530)
commitea03b52bb93cab5d9ee953543c07c25b985c9d9c
treeb042a41e49809d33b9f00371c82a4ec9c98bd7c8
parent0581320e1bf76f31b95f4178a4994fcf11e09765
video: tegra: dc: detach from dmabuf

Make sure we detach from the dmabuf before we put the dmabuf.
Otherwise we leak the underlying attachment structure.

Bug 1354774

Change-Id: Ic36221813e3ece41f189ef6083ed52dd71bbe90f
Signed-off-by: Alex Waterman <alexw@nvidia.com>
Reviewed-on: http://git-master/r/279875
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Seema Khowala <seemaj@nvidia.com>
Tested-by: Seema Khowala <seemaj@nvidia.com>
Reviewed-by: Chao Xu <cxu@nvidia.com>
Reviewed-by: Mitch Luban <mluban@nvidia.com>
(cherry picked from commit 9d23e72cc69da6e702a3bb7788db67febac292eb)
Signed-off-by: Ajay Nandakumar <anandakumarm@nvidia.com>
drivers/video/tegra/dc/ext/cursor.c
drivers/video/tegra/dc/ext/dev.c