[PATCH 0/3] drm: Fix initializing format info in drm_framebuffer
Imre Deak
imre.deak at intel.com
Mon Jul 28 10:16:00 UTC 2025
This patchset fixes initializing the format info in drm_framebuffer by
drm_helper_mode_fill_fb_struct() in the omap, nouveau, radeon drivers
after patch [1] in patchset [2], the latter one missing the conversion
of these 3 drivers. This patchset converts the 3 drivers similarly to
the other drivers converted by [2].
This patchset was only compile tested.
[1] https://lore.kernel.org/all/20250701090722.13645-20-ville.syrjala@linux.intel.com
[2] https://lore.kernel.org/all/20250701090722.13645-1-ville.syrjala@linux.intel.com
Cc: Ville Syrjälä <ville.syrjala at linux.intel.com>
Cc: Mark Brown <broonie at kernel.org>
Cc: Tomi Valkeinen <tomi.valkeinen at ideasonboard.com>
Cc: Lyude Paul <lyude at redhat.com>
Cc: Danilo Krummrich <dakr at kernel.org>
Cc: Alex Deucher <alexander.deucher at amd.com>
Cc: Christian König <christian.koenig at amd.com>
Cc: Thomas Zimmermann <tzimmermann at suse.de>
Cc: Maarten Lankhorst <maarten.lankhorst at linux.intel.com>
Cc: Maxime Ripard <mripard at kernel.org>
Cc: amd-gfx at lists.freedesktop.org
Imre Deak (3):
drm/omap: Pass along the format info from .fb_create() to
drm_helper_mode_fill_fb_struct()
drm/nouveau: Pass along the format info from .fb_create() to
drm_helper_mode_fill_fb_struct()
drm/radeon: Pass along the format info from .fb_create() to
drm_helper_mode_fill_fb_struct()
drivers/gpu/drm/nouveau/nouveau_display.c | 9 +++------
drivers/gpu/drm/nouveau/nouveau_display.h | 3 +++
drivers/gpu/drm/omapdrm/omap_fb.c | 23 ++++++++++-------------
drivers/gpu/drm/omapdrm/omap_fb.h | 2 ++
drivers/gpu/drm/omapdrm/omap_fbdev.c | 5 ++++-
drivers/gpu/drm/radeon/radeon_display.c | 5 +++--
drivers/gpu/drm/radeon/radeon_fbdev.c | 11 ++++++-----
drivers/gpu/drm/radeon/radeon_mode.h | 2 ++
8 files changed, 33 insertions(+), 27 deletions(-)
--
2.49.1
More information about the dri-devel
mailing list