commit | 3e7d2fddba5a3e9243fc461027511a350f88c23b | [log] [tgz] |
---|---|---|
author | Daniel Vetter <daniel.vetter@ffwll.ch> | Tue Dec 27 11:49:25 2016 +0100 |
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | Thu Jan 12 16:37:44 2017 +0100 |
tree | 4a27819171e3d1a1565ae739c7c27878f70fa594 | |
parent | 2384d62385aea91d7ec1589287b6daa41af1ed8b [diff] |
drm/tegra: Stop using drm_framebuffer_unregister_private This is the deprecated function for when you embedded the framebuffer somewhere else (which breaks refcounting). But Tegra is using drm_framebuffer_remove and a free-standing FB, so this is redundant. One caveat here is that the failure path in the init code still manually cleaned up the fb. I presume that was an oversight and changed it over to drm_framebuffer_remove too. Cc: Thierry Reding <thierry.reding@gmail.com> Reviewed-by: Archit Taneja <architt@codeaurora.org> Acked-by: Thierry Reding <treding@nvidia.com> Signed-off-by: Daniel Vetter <daniel.vetter@intel.com> Link: http://patchwork.freedesktop.org/patch/msgid/1482835765-12044-5-git-send-email-daniel.vetter@ffwll.ch Link: http://patchwork.freedesktop.org/patch/msgid/1482835765-12044-2-git-send-email-daniel.vetter@ffwll.ch