Re: [PATCH v6 09/17] drm/vkms: Introduce pixel_read_direction enum

2024-05-13 Thread Louis Chauvet
[...] > > +/** > > + * direction_for_rotation() - Get the correct reading direction for a > > given rotation > > + * > > + * @rotation: Rotation to analyze. It correspond the field > > @frame_info.rotation. > > + * > > + * This function will use the @rotation setting of a source plane to > > co

Re: [PATCH v6 09/17] drm/vkms: Introduce pixel_read_direction enum

2024-04-22 Thread Pekka Paalanen
On Tue, 09 Apr 2024 15:25:27 +0200 Louis Chauvet wrote: > The pixel_read_direction enum is useful to describe the reading direction > in a plane. It avoids using the rotation property of DRM, which not > practical to know the direction of reading. > This patch also introduce two helpers, one to c

[PATCH v6 09/17] drm/vkms: Introduce pixel_read_direction enum

2024-04-09 Thread Louis Chauvet
The pixel_read_direction enum is useful to describe the reading direction in a plane. It avoids using the rotation property of DRM, which not practical to know the direction of reading. This patch also introduce two helpers, one to compute the pixel_read_direction from the DRM rotation property, an