aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_mca.c
diff options
context:
space:
mode:
authorThomas Zimmermann <[email protected]>2023-10-09 14:06:33 +0000
committerThomas Zimmermann <[email protected]>2023-11-14 09:17:22 +0000
commit58b184dcb3f4c52c15b6ff4fa2fa0d69d1e1313f (patch)
tree095b3f0e19401760e994ce607a2baaf9e1a19465 /drivers/gpu/drm/amd/amdgpu/amdgpu_mca.c
parentdrm/format-helper: Pass format-conversion state to helpers (diff)
downloadkernel-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_mca.c')
0 files changed, 0 insertions, 0 deletions