diff options
| author | Huacai Chen <chenhuacai@loongson.cn> | 2026-09-03 16:42:12 +0800 |
|---|---|---|
| committer | Icenowy Zheng <zhengxingda@iscas.ac.cn> | 2026-09-17 15:12:26 +0800 |
| commit | 5535d5e61a77ad79118ea7665ce1c14f857f0f12 (patch) | |
| tree | abce5acbb19eac80966ee2e98be1799883285a41 /tools/perf/scripts/python | |
| parent | 6c62dfd2820f0c32b0083668edbe0baca6e10b92 (diff) | |
| download | linux-next-5535d5e61a77ad79118ea7665ce1c14f857f0f12.tar.gz linux-next-5535d5e61a77ad79118ea7665ce1c14f857f0f12.zip | |
drm/loongson: Create blend mode property for cursor plane
After commit 860e748bddcc929 ("drm: ensure blend mode supported if pixel
format with alpha exposed") we get warnings at boot:
loongson 0000:00:06.1: [drm] [PLANE:41:ls-cursor-plane-0] pixel format with alpha exposed but blend mode not setup. Please fix.
loongson 0000:00:06.1: [drm] [PLANE:46:ls-cursor-plane-1] pixel format with alpha exposed but blend mode not setup. Please fix.
The reason is the cursor plane supports color formats with alpha but the
driver doesn't create blend mode property, which triggers the warning in
validate_blend_mode_for_alpha_formats().
The loongson DC HW doesn't support DRM_MODE_BLEND_PREMULTI, so create
blend mode property with DRM_MODE_BLEND_COVERAGE for cursor planes since
it is the only one implemented in the driver.
Signed-off-by: Huacai Chen <chenhuacai@loongson.cn>
Reviewed-by: Jianmin Lv <lvjianmin@loongson.cn>
Signed-off-by: Icenowy Zheng <zhengxingda@iscas.ac.cn>
Link: https://patch.msgid.link/20260903084212.3621540-1-chenhuacai@loongson.cn
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
