Skip to content
Commit 66da13a5 authored by Liviu Dudau's avatar Liviu Dudau
Browse files

drm/arm/malidp: Validate rotations for compressed/uncompressed framebuffers for each layer



Add support for compressed framebuffers that are described using
the framebuffer's modifier field. Mali DP uses the rotation memory for
the decompressor of the format, so we need to check for space when
the modifiers are present.

Signed-off-by: default avatarAyan Kumar Halder <ayan.halder@arm.com>
Reviewed-by: default avatarBrian Starkey <brian.starkey@arm.com>
[re-worded commit, rebased, cleaned up duplicated checks for
 RGB888 and BGR888 and removed additional parameter for
 rotmem_required function hook]
Signed-off-by: default avatarLiviu Dudau <liviu.dudau@arm.com>
parent 1f23a56a
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment