diff options
| author | Icenowy Zheng <[email protected]> | 2025-05-31 12:11:40 +0000 |
|---|---|---|
| committer | Chun-Kuang Hu <[email protected]> | 2025-07-17 23:19:05 +0000 |
| commit | 8d121a82fa564e0c8bd86ce4ec56b2a43b9b016e (patch) | |
| tree | 3cd4e1d59d6eca21502130c2e4117b00515e42f9 /lib/crypto/mpi/mpi-mul.c | |
| parent | drm/mediatek: Add wait_event_timeout when disabling plane (diff) | |
| download | kernel-8d121a82fa564e0c8bd86ce4ec56b2a43b9b016e.tar.gz kernel-8d121a82fa564e0c8bd86ce4ec56b2a43b9b016e.zip | |
drm/mediatek: only announce AFBC if really supported
Currently even the SoC's OVL does not declare the support of AFBC, AFBC
is still announced to the userspace within the IN_FORMATS blob, which
breaks modern Wayland compositors like KWin Wayland and others.
Gate passing modifiers to drm_universal_plane_init() behind querying the
driver of the hardware block for AFBC support.
Fixes: c410fa9b07c3 ("drm/mediatek: Add AFBC support to Mediatek DRM driver")
Signed-off-by: Icenowy Zheng <[email protected]>
Reviewed-by: CK Hu <[email protected]>
Link: https://patchwork.kernel.org/project/linux-mediatek/patch/[email protected]/
Signed-off-by: Chun-Kuang Hu <[email protected]>
Diffstat (limited to 'lib/crypto/mpi/mpi-mul.c')
0 files changed, 0 insertions, 0 deletions
