diff options
| author | Louis Chauvet <louis.chauvet@bootlin.com> | 2024-11-18 21:28:22 +0300 |
|---|---|---|
| committer | Louis Chauvet <louis.chauvet@bootlin.com> | 2024-11-22 16:00:08 +0300 |
| commit | b52fd27356af947f80b0c0855691e42a4c02ee79 (patch) | |
| tree | cc60ad1905089ed5290894f70f9ebc469831419d /tools/perf/scripts/python/stackcollapse.py | |
| parent | cb6de83faa9049bf40e7dc6821d903016bec2337 (diff) | |
| download | linux-b52fd27356af947f80b0c0855691e42a4c02ee79.tar.xz | |
drm/vkms: Introduce pixel_read_direction enum
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, and one to compute
the step, in byte, between two successive pixel in a specific direction.
Acked-by: Maíra Canal <mairacanal@riseup.net>
Reviewed-by: José Expósito <jose.exposito89@gmail.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20241118-yuv-v14-7-2dbc2f1e222c@bootlin.com
Signed-off-by: Louis Chauvet <louis.chauvet@bootlin.com>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions
