diff options
author | Maxime Ripard <[email protected]> | 2017-12-22 15:29:26 +0100 |
---|---|---|
committer | Maxime Ripard <[email protected]> | 2018-01-29 12:07:47 +0100 |
commit | 4cc4e1b40f3ff5227c9f326542b75947b464a635 (patch) | |
tree | 16a85f97d97e5722d11d92dc5ff8d5568e161866 /tools/perf/scripts/python/event_analyzing_sample.py | |
parent | 1a32a938b6438afe70c0a2a6dd666f4a49f6c384 (diff) |
drm/fourcc: Add a alpha field to drm_format_info
There's a bunch of drivers that duplicate the same function to know if a
particular format embeds an alpha component or not.
Let's create a field in the drm_format_info to avoid duplicating that logic
and looking up formats all the time.
Cc: Eric Anholt <[email protected]>
Cc: Inki Dae <[email protected]>
Cc: Joonyoung Shim <[email protected]>
Cc: Kyungmin Park <[email protected]>
Cc: Laurent Pinchart <[email protected]>
Cc: Mark Yao <[email protected]>
Cc: Seung-Woo Kim <[email protected]>
Reviewed-by: Boris Brezillon <[email protected]>
Reviewed-by: Daniel Vetter <[email protected]>
Signed-off-by: Maxime Ripard <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/9cd9951d147ff810c1f6f68d79e7983361ed6b68.1516617243.git-series.maxime.ripard@free-electrons.com
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions