Re: [PATCH v2] drm/modes: Apply video parameters with only reflect option

2020-01-15 Thread Maxime Ripard
Hi Stephan, On Mon, Jan 13, 2020 at 05:30:39PM +0100, Stephan Gerhold wrote: > On Mon, Dec 16, 2019 at 07:08:12PM +0100, Stephan Gerhold wrote: > > On Mon, Dec 16, 2019 at 07:27:25PM +0200, Ville Syrjälä wrote: > > > On Mon, Dec 16, 2019 at 06:10:17PM +0100, Stephan Gerhold wrote: > > > > At the

Re: [PATCH v2] drm/modes: Apply video parameters with only reflect option

2020-01-13 Thread Stephan Gerhold
Hi Maxime, On Mon, Dec 16, 2019 at 07:08:12PM +0100, Stephan Gerhold wrote: > On Mon, Dec 16, 2019 at 07:27:25PM +0200, Ville Syrjälä wrote: > > On Mon, Dec 16, 2019 at 06:10:17PM +0100, Stephan Gerhold wrote: > > > At the moment, video mode parameters like video=540x960,reflect_x, > > > (without

Re: [PATCH v2] drm/modes: Apply video parameters with only reflect option

2019-12-16 Thread Stephan Gerhold
On Mon, Dec 16, 2019 at 07:27:25PM +0200, Ville Syrjälä wrote: > On Mon, Dec 16, 2019 at 06:10:17PM +0100, Stephan Gerhold wrote: > > At the moment, video mode parameters like video=540x960,reflect_x, > > (without rotation set) are not taken into account when applying the > > mode in

Re: [PATCH v2] drm/modes: Apply video parameters with only reflect option

2019-12-16 Thread Ville Syrjälä
On Mon, Dec 16, 2019 at 06:10:17PM +0100, Stephan Gerhold wrote: > At the moment, video mode parameters like video=540x960,reflect_x, > (without rotation set) are not taken into account when applying the > mode in drm_client_modeset.c. A rotation value without exactly one rotation angle is

[PATCH v2] drm/modes: Apply video parameters with only reflect option

2019-12-16 Thread Stephan Gerhold
At the moment, video mode parameters like video=540x960,reflect_x, (without rotation set) are not taken into account when applying the mode in drm_client_modeset.c. One of the reasons for this is that the calculation that combines the panel_orientation with cmdline->rotation_reflection does not