diff options
author | Thomas Zimmermann <tzimmermann@suse.de> | 2024-12-12 18:08:48 +0100 |
---|---|---|
committer | Maarten Lankhorst <dev@lankhorst.se> | 2025-03-05 21:48:50 +0100 |
commit | 03e1b3df217a94c75e644bf50d3b3b2203acba00 (patch) | |
tree | b8bd69af80f37e907c352ce39fae64f8c3227ad3 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | a1c008b987d0f0fc5a9d746dd7782350ba48ce57 (diff) |
drm/i915/display: Remove preferred_bpp from struct intel_fbdev
The value preferred_bpp in struct intel_fbdev duplicates preferred_bpp
in struct drm_fb_helper. Remove the former.
Instead let intel_fbdev_init_bios() read the framebuffer from the
hardware. Then derive preferred_bpp from its format and initialize
struct drm_fb_helper with the value. The default is 32 (i.e., XRGB8888).
Also removes one of those deprecated references to the cpp field of
struct drm_format_info.
Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
Reviewed-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20241212170913.185939-8-tzimmermann@suse.de
Signed-off-by: Maarten Lankhorst <dev@lankhorst.se>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions