diff options
| author | Louis Chauvet <louis.chauvet@bootlin.com> | 2024-11-18 21:28:20 +0300 |
|---|---|---|
| committer | Louis Chauvet <louis.chauvet@bootlin.com> | 2024-11-22 16:00:07 +0300 |
| commit | d6dc39e495678d54a8125e1ae08b3ca35c306426 (patch) | |
| tree | d6fdd567f0d4ffd03f3ecf991a239b8eacdeaeb1 /tools/perf/scripts/python/stackcollapse.py | |
| parent | 51091b4ab257887d9ab79d93078b7989abeeda6f (diff) | |
| download | linux-d6dc39e495678d54a8125e1ae08b3ca35c306426.tar.xz | |
drm/vkms: Update pixels accessor to support packed and multi-plane formats.
Introduce the usage of block_h/block_w to compute the offset and the
pointer of a pixel. The previous implementation was specialized for
planes with block_h == block_w == 1. To avoid confusion and allow easier
implementation of tiled formats. It also remove the usage of the
deprecated format field `cpp`.
Introduce the plane_index parameter to get an offset/pointer on a
different plane.
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-5-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
