diff options
| author | Thomas Zimmermann <tzimmermann@suse.de> | 2026-06-18 16:11:33 +0200 |
|---|---|---|
| committer | Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com> | 2026-07-31 16:48:21 +0300 |
| commit | 0cfd468c995644a512c3fe82f391814f7ea30e77 (patch) | |
| tree | 6b6acb6240a302e2111a9f22659b19f7b94126e2 /scripts | |
| parent | 4f2b89b0341126ddddcfcf8a5a9895d226930e73 (diff) | |
| download | linux-0cfd468c995644a512c3fe82f391814f7ea30e77.tar.gz linux-0cfd468c995644a512c3fe82f391814f7ea30e77.zip | |
drm/msm: fbdev: Inline msm_alloc_stolen_fb()
Inline msm_alloc_stolen_fb() into its only caller. This is necessary
for converting fbdev emulation to use client buffers.
There are some minor changes:
- Handle errors for the non-stolen BO in the respective branch.
- Fill mode_cmd right before using it with msm_framebuffer_init(). Both
will later be replaced with client-buffer interfaces.
- Set the modifier[0] to DRM_FORMAT_MOD_LINEAR. No functional change.
- Integrate the error handling with the existing clean-up.
Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Patchwork: https://patchwork.freedesktop.org/patch/733884/
Link: https://lore.kernel.org/r/20260618141249.151338-3-tzimmermann@suse.de
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions
