[PATCH 36/37] drm/zte: Drop drm_vblank_cleanup
Daniel Vetter
daniel.vetter at ffwll.ch
Fri May 26 06:57:32 UTC 2017
On Thu, May 25, 2017 at 5:01 AM, Shawn Guo <shawnguo at kernel.org> wrote:
> On Wed, May 24, 2017 at 04:52:11PM +0200, Daniel Vetter wrote:
>> It again looks all cargo-culted for no good reasons.
>
> drm_vblank_cleanup() is called to release the resources allocated by
> drm_vblank_init(). I think that's the reason, no?
Pls read the code and the last patch in this series. The drm core
already calls drm_vblank_cleanup for you, the only reason it was
exported was to handle certain usersmodesetting fallback scenarios in
radeon.ko.
-Daniel
--
Daniel Vetter
Software Engineer, Intel Corporation
+41 (0) 79 365 57 48 - http://blog.ffwll.ch
More information about the dri-devel
mailing list