[PATCH 04/14] drm: add helper to implement legacy dirtyfb