diff options
| author | Thomas Zimmermann <tzimmermann@suse.de> | 2026-06-18 14:28:42 +0200 |
|---|---|---|
| committer | Thomas Zimmermann <tzimmermann@suse.de> | 2026-06-24 08:57:27 +0200 |
| commit | defd8ba932774ed5a2ee2d5980d60a3e21f15e04 (patch) | |
| tree | df2d2cc546c6a5e2f9b4c4c7b83996bc3c7f04d9 /tools/perf/scripts/python/bin/stackcollapse-record | |
| parent | 47decb5e9453940dfcfd64d72f565ed9783f3055 (diff) | |
drm/hibmc: Do not use cpp from struct drm_format_info
Replace uses of struct drm_format_info's cpp with appropriate interfaces.
The cpp field contains the characters per pixel. It is deprecated and
should be avoided.
Calculate the line width in bytes with drm_format_info_min_pitch(). This
is the preferred way of getting pixel and line sizes.
Program HIB_CRT_DISP_CTL_FORMAT from the format's 4CC code instead of
calculating the field's value from the cpp.
v4:
- introduce fb variable in separate patch (Yongbang)
Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
Reviewed-by: Yongbang Shi <shiyongbang@huawei.com>
Link: https://patch.msgid.link/20260618123142.92298-5-tzimmermann@suse.de
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-record')
0 files changed, 0 insertions, 0 deletions
