diff options
| author | Imre Deak <[email protected]> | 2025-08-05 17:57:51 +0000 |
|---|---|---|
| committer | Imre Deak <[email protected]> | 2025-08-06 12:26:15 +0000 |
| commit | d2b524c9064301471e8ffe4ffd85ab8870966aa4 (patch) | |
| tree | dec6a4dd9d0b29ebb3315c14caa1bd267f0b9a57 /drivers/gpu/drm/amd/amdgpu/amdgpu_mes.c | |
| parent | drm/omap: Pass along the format info from .fb_create() to drm_helper_mode_fil... (diff) | |
| download | kernel-d2b524c9064301471e8ffe4ffd85ab8870966aa4.tar.gz kernel-d2b524c9064301471e8ffe4ffd85ab8870966aa4.zip | |
drm/nouveau: Pass along the format info from .fb_create() to drm_helper_mode_fill_fb_struct()
Plumb the format info from .fb_create() all the way to
drm_helper_mode_fill_fb_struct() to avoid the redundant
lookup.
The patch is based on the driver parts of the patchset at Link:
below, which missed converting the nouveau driver.
Due to the absence of this change in the patchset at Link:, after the
Fixed: commit below, nouveau_framebuffer_new() ->
drm_helper_mode_fill_fb_struct() set drm_framebuffer::format incorrectly
to NULL, which lead to the !fb->format WARN() in drm_framebuffer_init()
and causing framebuffer creation to fail. This patch fixes both of these
issues.
v2: Amend the commit log mentioning the functional issues the patch
fixes. (Tomi)
Cc: Ville Syrjälä <[email protected]>
Cc: Lyude Paul <[email protected]>
Cc: Danilo Krummrich <[email protected]>
Cc: Thomas Zimmermann <[email protected]>
Cc: Maarten Lankhorst <[email protected]>
Cc: Maxime Ripard <[email protected]>
Cc: Tomi Valkeinen <[email protected]>
Cc: [email protected]
Fixes: 41ab92d35ccd ("drm: Make passing of format info to drm_helper_mode_fill_fb_struct() mandatory")
Link: https://lore.kernel.org/all/[email protected]
Acked-by: Alex Deucher <[email protected]>
Acked-by: Danilo Krummrich <[email protected]>
Reviewed-by: James Jones <[email protected]>
Tested-by: Linux Kernel Functional Testing <[email protected]>
Tested-by: James Jones <[email protected]>
Signed-off-by: Imre Deak <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_mes.c')
0 files changed, 0 insertions, 0 deletions
