summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/ipu-v3
diff options
context:
space:
mode:
authorMelissa Wen <melissa.srw@gmail.com>2021-04-24 05:25:31 -0300
committerMelissa Wen <melissa.srw@gmail.com>2021-04-29 18:52:34 -0300
commit32a1648aca440904e0943b9cf36d5a3318205bb1 (patch)
treeb9349fa912c33b2db07c819286f564e5f42e6aaf /drivers/gpu/ipu-v3
parentcac80e71cfb0b00202d743c6e90333c45ba77cc5 (diff)
downloadlinux-stable-32a1648aca440904e0943b9cf36d5a3318205bb1.tar.gz
linux-stable-32a1648aca440904e0943b9cf36d5a3318205bb1.tar.bz2
linux-stable-32a1648aca440904e0943b9cf36d5a3318205bb1.zip
drm/vkms: add XRGB planes composition
Add support for composing XRGB888 planes in addition to the ARGB8888 format. In the case of an XRGB plane at the top, the composition consists of copying the RGB values of a pixel from src to dst and clearing alpha channel, without the need for alpha blending operations for each pixel. Blend equations assume a completely opaque background, i.e., primary plane is not cleared before pixel blending but alpha channel is explicitly opaque (a = 0xff). Also, there is room for performance evaluation in switching pixel blend operation according to the plane format. v4: - clear alpha channel (0xff) after blend color values by pixel - improve comments on blend ops to reflect the current state - describe in the commit message future improvements for plane composition Signed-off-by: Melissa Wen <melissa.srw@gmail.com> Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch> Link: https://patchwork.freedesktop.org/patch/msgid/07bcf4643d11da9480599fe1b165e478bff58b25.1619250933.git.melissa.srw@gmail.com
Diffstat (limited to 'drivers/gpu/ipu-v3')
0 files changed, 0 insertions, 0 deletions