aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
diff options
context:
space:
mode:
authorThomas Zimmermann <[email protected]>2023-10-09 14:06:36 +0000
committerThomas Zimmermann <[email protected]>2023-11-14 09:17:23 +0000
commitc669875041d038e91fa99766a07ec2d8bd6dcf6a (patch)
tree6f50182ffe04032ff077415f42496cbb45c7c709 /drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
parentdrm/simpledrm: Preallocate format-conversion buffer in atomic_check (diff)
downloadkernel-c669875041d038e91fa99766a07ec2d8bd6dcf6a.tar.gz
kernel-c669875041d038e91fa99766a07ec2d8bd6dcf6a.zip
drm/ssd130x: 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. v6: * update patch for ssd132x support Signed-off-by: Thomas Zimmermann <[email protected]> Reviewed-by: Javier Martinez Canillas <[email protected]> Tested-by: Javier Martinez Canillas <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_device.c')
0 files changed, 0 insertions, 0 deletions