summaryrefslogtreecommitdiff
path: root/scripts/Makefile.thinlto
diff options
context:
space:
mode:
authorQinyun Tan <qinyuntan@linux.alibaba.com>2026-09-01 16:32:34 +0800
committerThomas Zimmermann <tzimmermann@suse.de>2026-09-08 15:12:27 +0200
commit09f7fc4e8e307fcdaa506b3a06cd7b1acffd2584 (patch)
tree1050e1e2db30c767fe44bbd99d9fd6be192dfe4a /scripts/Makefile.thinlto
parentf2e64f450c1665732505dae8ee34b399da5a5100 (diff)
downloadlinux-09f7fc4e8e307fcdaa506b3a06cd7b1acffd2584.tar.gz
linux-09f7fc4e8e307fcdaa506b3a06cd7b1acffd2584.zip
drm/vboxvideo: create blend mode property on planes
Since commit 860e748bddcc ("drm: ensure blend mode supported if pixel format with alpha exposed"), drm_mode_config_validate() warns when a plane exposes an alpha pixel format but not the "pixel blend mode" property. Both the vboxvideo primary and cursor planes expose ARGB8888 and trip this on driver load. VirtualBox draws the cursor through the host windowing system, which treats the guest-supplied pointer shape as straight (non-pre-multiplied) alpha: the host frontend loads the pixels verbatim into an unpremultiplied ARGB image before handing them to the host cursor APIs. This corresponds to DRM_MODE_BLEND_COVERAGE. Expose a "pixel blend mode" property advertising only DRM_MODE_BLEND_COVERAGE to make these semantics explicit and silence the warning. The primary plane's alpha channel is ignored by the host (opaque blit) and it is the bottom-most plane anyway; advertise the same value there for consistency. Fixes: 860e748bddcc ("drm: ensure blend mode supported if pixel format with alpha exposed") Acked-by: Thomas Zimmermann <tzimmermann@suse.de> Signed-off-by: Qinyun Tan <qinyuntan@linux.alibaba.com> Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de> Link: https://patch.msgid.link/20260901083234.1828755-5-qinyuntan@linux.alibaba.com
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions