Re: [PATCH 5/6] compositor-drm: Fix refresh rate selection in drm_output_switch_mode

2015-04-22 Thread Derek Foreman
On 22/04/15 12:42 AM, Mario Kleiner wrote: On 04/16/2015 07:14 PM, Derek Foreman wrote: On 02/04/15 12:10 AM, Mario Kleiner wrote: The matching logic in choose_mode() compared refresh rate of a drm_mode candidate mode expressed in Hz against the requested refresh rate of the target

Re: [PATCH 5/6] compositor-drm: Fix refresh rate selection in drm_output_switch_mode

2015-04-21 Thread Mario Kleiner
On 04/16/2015 07:14 PM, Derek Foreman wrote: On 02/04/15 12:10 AM, Mario Kleiner wrote: The matching logic in choose_mode() compared refresh rate of a drm_mode candidate mode expressed in Hz against the requested refresh rate of the target weston_mode expressed in milliHz, so the match always

Re: [PATCH 5/6] compositor-drm: Fix refresh rate selection in drm_output_switch_mode

2015-04-16 Thread Derek Foreman
On 02/04/15 12:10 AM, Mario Kleiner wrote: The matching logic in choose_mode() compared refresh rate of a drm_mode candidate mode expressed in Hz against the requested refresh rate of the target weston_mode expressed in milliHz, so the match always failed and the logic always ended up the

[PATCH 5/6] compositor-drm: Fix refresh rate selection in drm_output_switch_mode

2015-04-01 Thread Mario Kleiner
The matching logic in choose_mode() compared refresh rate of a drm_mode candidate mode expressed in Hz against the requested refresh rate of the target weston_mode expressed in milliHz, so the match always failed and the logic always ended up the mode with the highest refresh rate for a given