[RFC PATCH 04/37] drm: crtc_helper: Update hwmode before mode_set call

Daniel Vetter daniel at ffwll.ch
Fri Mar 20 09:05:10 PDT 2015


On Thu, Mar 19, 2015 at 04:33:03AM +0000, Daniel Stone wrote:
> Just as we provide crtc->mode pre-populated with the requested mode,
> move adjusted_mode into hwmode before we call the crtc's mode_set,
> making sure to restore it on failure.
> 
> Allows drivers which thoughtlessly discard adjusted_mode in their
> mode_set hooks (e.g. Exynos) to use hwmode directly, and also provides
> some neat symmetry with crtc->mode.
> 
> Signed-off-by: Daniel Stone <daniels at collabora.com>

Merged up to this patch to drm-misc, thanks.
-Daniel
-- 
Daniel Vetter
Software Engineer, Intel Corporation
http://blog.ffwll.ch


More information about the dri-devel mailing list