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 resolution, instead of the one matching the requested rate. Match proper fields to fix this. Signed-off-by: Mario Kleiner <mario.kleiner.de@gmail.com> Reviewed-by: Derek Foreman <derekf@osg.samsung.com>dev
parent
9f4d655494
commit
872797cdf5
Loading…
Reference in new issue