[PATCH RFC 1/2] drm: extract closefb logic in separate function