Re: [PATCH] compositor-drm: allow mode frequency selection

2017-01-17 Thread Daniel Stone
Hi Fabien, On 2 January 2017 at 16:42, Fabien Dessenne wrote: > @@ -2210,9 +2210,12 @@ drm_output_choose_initial_mode(struct drm_backend > *backend, > drmModeModeInfo drm_modeline; > int32_t width = 0; > int32_t height = 0; > + uint32_t refresh = 0; > + int n;

[PATCH] compositor-drm: allow mode frequency selection

2017-01-02 Thread Fabien Dessenne
As an option, allow to specify a mode (from the configuration file) by its refresh rate. Example of valid syntax: - "mode=1920x1080"Select a 1920x1080 mode, refresh rate undefined. - "mode=1920x1080-60" Select the (or one of the) 1920x1080 60 Hz mode. Signed-off-by: Fabien Dessenne --- libwe