[PATCH v3 3/3] drm/imx: Add active plane reconfiguration support

2016-08-22 Thread Daniel Vetter
On Mon, Aug 22, 2016 at 04:23:36PM +0800, Ying Liu wrote: > On Mon, Aug 22, 2016 at 3:53 PM, Daniel Vetter wrote: > > On Mon, Aug 22, 2016 at 9:43 AM, Ying Liu wrote: > + > + /* > + * The relevant plane's ->atomic_check callback may set > + *

[PATCH v3 3/3] drm/imx: Add active plane reconfiguration support

2016-08-22 Thread Ying Liu
On Mon, Aug 22, 2016 at 3:53 PM, Daniel Vetter wrote: > On Mon, Aug 22, 2016 at 9:43 AM, Ying Liu wrote: + + /* + * The relevant plane's ->atomic_check callback may set + * crtc_state->mode_changed to be true when the active + * plane needs to be

[PATCH v3 3/3] drm/imx: Add active plane reconfiguration support

2016-08-22 Thread Ying Liu
Hi Daniel, On Mon, Aug 22, 2016 at 3:20 PM, Daniel Vetter wrote: > On Fri, Aug 19, 2016 at 05:36:59PM +0800, Liu Ying wrote: >> We don't support configuring active plane on-the-fly for imx-drm. >> The relevant CRTC should be disabled before the plane configuration. >> Of course, the plane itself

[PATCH v3 3/3] drm/imx: Add active plane reconfiguration support

2016-08-22 Thread Daniel Vetter
On Mon, Aug 22, 2016 at 9:43 AM, Ying Liu wrote: >>> + >>> + /* >>> + * The relevant plane's ->atomic_check callback may set >>> + * crtc_state->mode_changed to be true when the active >>> + * plane needs to be reconfigured. In this case and only >>> + * this case,

[PATCH v3 3/3] drm/imx: Add active plane reconfiguration support

2016-08-22 Thread Daniel Vetter
On Fri, Aug 19, 2016 at 05:36:59PM +0800, Liu Ying wrote: > We don't support configuring active plane on-the-fly for imx-drm. > The relevant CRTC should be disabled before the plane configuration. > Of course, the plane itself should be disabled as well. > > This patch adds active plane

[PATCH v3 3/3] drm/imx: Add active plane reconfiguration support

2016-08-19 Thread Liu Ying
We don't support configuring active plane on-the-fly for imx-drm. The relevant CRTC should be disabled before the plane configuration. Of course, the plane itself should be disabled as well. This patch adds active plane reconfiguration support by forcing CRTC mode change in plane's ->atomic_check