Re: [PATCH v3 1/6] drm: Add drm_mode_config->normalize_zpos boolean

2018-01-29 Thread Peter Ujfalusi
Ville, On 2018-01-26 18:43, Ville Syrjälä wrote: >> I'm not sure if I understand the problem. This series does the following >> in essence: >> >> drm_atomic_helper_check(...) >> { >> /* does A */ >> } >> >> driver_hand_rolled_atomic_helper_check(...) >> { >> /* does A */ >> } >> >> - .at

Re: [PATCH v3 1/6] drm: Add drm_mode_config->normalize_zpos boolean

2018-01-26 Thread Ville Syrjälä
On Fri, Jan 26, 2018 at 11:29:03AM +0200, Peter Ujfalusi wrote: > Ville, > > On 2018-01-25 16:51, Ville Syrjälä wrote: > > On Thu, Jan 25, 2018 at 04:40:48PM +0200, Ville Syrjälä wrote: > >> On Thu, Jan 25, 2018 at 04:26:25PM +0200, Peter Ujfalusi wrote: > >>> Instead of drivers duplicating the dr

Re: [PATCH v3 1/6] drm: Add drm_mode_config->normalize_zpos boolean

2018-01-26 Thread Peter Ujfalusi
Ville, On 2018-01-25 16:51, Ville Syrjälä wrote: > On Thu, Jan 25, 2018 at 04:40:48PM +0200, Ville Syrjälä wrote: >> On Thu, Jan 25, 2018 at 04:26:25PM +0200, Peter Ujfalusi wrote: >>> Instead of drivers duplicating the drm_atomic_helper_check() code to be >>> able to normalize the zpos they can u

Re: [PATCH v3 1/6] drm: Add drm_mode_config->normalize_zpos boolean

2018-01-26 Thread Peter Ujfalusi
On 2018-01-25 16:40, Ville Syrjälä wrote: > On Thu, Jan 25, 2018 at 04:26:25PM +0200, Peter Ujfalusi wrote: >> Instead of drivers duplicating the drm_atomic_helper_check() code to be >> able to normalize the zpos they can use the normalize_zpos flag to let the >> drm core to do it. >> >> Signed-o

Re: [PATCH v3 1/6] drm: Add drm_mode_config->normalize_zpos boolean

2018-01-25 Thread Ville Syrjälä
On Thu, Jan 25, 2018 at 04:40:48PM +0200, Ville Syrjälä wrote: > On Thu, Jan 25, 2018 at 04:26:25PM +0200, Peter Ujfalusi wrote: > > Instead of drivers duplicating the drm_atomic_helper_check() code to be > > able to normalize the zpos they can use the normalize_zpos flag to let the > > drm core to

Re: [PATCH v3 1/6] drm: Add drm_mode_config->normalize_zpos boolean

2018-01-25 Thread Ville Syrjälä
On Thu, Jan 25, 2018 at 04:26:25PM +0200, Peter Ujfalusi wrote: > Instead of drivers duplicating the drm_atomic_helper_check() code to be > able to normalize the zpos they can use the normalize_zpos flag to let the > drm core to do it. > > Signed-off-by: Peter Ujfalusi > --- > drivers/gpu/drm/dr

[PATCH v3 1/6] drm: Add drm_mode_config->normalize_zpos boolean

2018-01-25 Thread Peter Ujfalusi
Instead of drivers duplicating the drm_atomic_helper_check() code to be able to normalize the zpos they can use the normalize_zpos flag to let the drm core to do it. Signed-off-by: Peter Ujfalusi --- drivers/gpu/drm/drm_atomic_helper.c | 11 +++ include/drm/drm_mode_config.h | 8 +