diff options
| author | Thomas Zimmermann <[email protected]> | 2023-10-09 14:06:33 +0000 |
|---|---|---|
| committer | Thomas Zimmermann <[email protected]> | 2023-11-14 09:17:22 +0000 |
| commit | 58b184dcb3f4c52c15b6ff4fa2fa0d69d1e1313f (patch) | |
| tree | 095b3f0e19401760e994ce607a2baaf9e1a19465 /drivers/gpu/drm/amd/amdgpu/amdgpu_ctx.c | |
| parent | drm/format-helper: Pass format-conversion state to helpers (diff) | |
| download | kernel-58b184dcb3f4c52c15b6ff4fa2fa0d69d1e1313f.tar.gz kernel-58b184dcb3f4c52c15b6ff4fa2fa0d69d1e1313f.zip | |
drm/ofdrm: Preallocate format-conversion buffer in atomic_check
Preallocate the format-conversion state's storage in the plane's
atomic_check function if a format conversion is necessary. Allows
the update to fail if no memory is available. Avoids the same
allocation within atomic_update, which may not fail.
Signed-off-by: Thomas Zimmermann <[email protected]>
Reviewed-by: Javier Martinez Canillas <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_ctx.c')
0 files changed, 0 insertions, 0 deletions
