[PATCH] Add aspect-ratio support in wayland layer.

Pekka Paalanen ppaalanen at gmail.com
Fri Sep 8 14:13:46 UTC 2017

On Wed,  6 Sep 2017 17:50:00 +0530
Nautiyal Ankit <ankit.k.nautiyal at intel.com> wrote:

> From: Ankit Nautiyal <ankit.k.nautiyal at intel.com>
> This patch series adds video mode aspect ratio support for
> wayland protocol and weston drm compositor. This patch series
> adds two patches:
> 1- Adds aspect ratio flag bits bits in wl_output_mode flags
> as per DRM layer implementation.
> 2- Preserves and uses the aspect ratio flags while selecting
> the mode for modeset in weston drm compositor.
> The corresponding kernel implementation for the aspect ratio support
> in DRM Layer can be found here:
> https://patchwork.freedesktop.org/series/10850/ 
> This is a four patch series, in which two patches are already
> merged, and two are waiting for user space implementation.


we discussed these patches on #wayland in IRC, and I believe we came to
the following conclusion:

- Let's not add to wayland.xml, and not advertise the aspect ratio to
  clients. There is no need to do this, and clients are currently not
  able to take advantage of it either.

- With the wl_output bits dropped, the idea in the Weston patch is
  good. You are adding a way to choose non-square pixel modes via
  weston.ini, and to choose the refresh rate as well.

The purpose of the Weston patch is to provide a real test vehicle for
the remaining kernel patches. The above mentioned should suffice, I

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <https://lists.freedesktop.org/archives/wayland-devel/attachments/20170908/86c54d6a/attachment.sig>

More information about the wayland-devel mailing list