Re: [PATCH 10/11] drm/i915: Add 180 degree primary plane rotation support

Damien Lespiau
2014-06-19T10:07:33Z

On Thu, Jun 19, 2014 at 01:22:25PM +0530, Jindal, Sonika wrote:
> >>I see that in omap driver too it is done in lastclose of the driver. Also,
> >>from driver fbdev_restore is only called during lastclose.
> >>Again I don't have more knowledge on this.
> >>Can we keep it here in this lastclose function to comply with omap driver?

Just to be thorough, there's an important path that is not from
lastclose():

+ drm_fb_helper_set_par()
+ drm_fb_helper_restore_fbdev_mode_unlocked()
+ restore_fbdev_mode()

--
Damien