linux-stable/drivers/gpu/drm/vc4
Maxime Ripard 4f3b254367 drm/vc4: txp: Force alpha to be 0xff if it's disabled
[ Upstream commit 5453343a88 ]

If we use a format that has padding instead of the alpha component (such
as XRGB8888), it appears that the Transposer will fill the padding to 0,
disregarding what was stored in the input buffer padding.

This leads to issues with IGT, since it will set the padding to 0xff,
but will then compare the CRC of the two frames which will thus fail.
Another nice side effect is that it is now possible to just use the
buffer as ARGB.

Fixes: 008095e065 ("drm/vc4: Add support for the transposer block")
Signed-off-by: Maxime Ripard <maxime@cerno.tech>
Acked-by: Thomas Zimmermann <tzimmermann@suse.de>
Link: https://lore.kernel.org/r/20220328153659.2382206-4-maxime@cerno.tech
Signed-off-by: Sasha Levin <sashal@kernel.org>
2022-06-09 10:25:38 +02:00
..
Kconfig drm: Remove CONFIG_DRM_KMS_CMA_HELPER option 2021-11-30 11:10:03 +01:00
Makefile
vc4_bo.c Linux 5.16-rc5 2021-12-14 10:24:28 +01:00
vc4_crtc.c drm/vc4: hvs: Fix frame count register readout 2022-06-09 10:25:38 +02:00
vc4_debugfs.c drm/vc4: Leverage the load tracker on the BCM2711 2021-11-04 10:36:25 +01:00
vc4_dpi.c drm/vc4: dpi: Switch to devm_drm_of_get_bridge 2021-09-14 10:39:30 +02:00
vc4_drv.c drm/vc4: Make use of the helper function devm_platform_ioremap_resource() 2021-09-01 11:43:25 +02:00
vc4_drv.h drm/vc4: hvs: Fix frame count register readout 2022-06-09 10:25:38 +02:00
vc4_dsi.c drm/vc4: Use pm_runtime_resume_and_get to fix pm_runtime_get_sync() usage 2022-04-27 14:41:13 +02:00
vc4_fence.c
vc4_gem.c
vc4_hdmi.c drm/vc4: hdmi: Fix build error for implicit function declaration 2022-05-18 10:28:15 +02:00
vc4_hdmi.h drm/vc4: hdmi: Unregister codec device on unbind 2022-02-17 17:27:54 +01:00
vc4_hdmi_phy.c drm/vc4: hdmi: Add a spinlock to protect register access 2021-11-05 12:53:24 +01:00
vc4_hdmi_regs.h drm/vc4: hdmi: Add a spinlock to protect register access 2021-11-05 12:53:24 +01:00
vc4_hvs.c drm/vc4: hvs: Reset muxes at probe time 2022-06-09 10:25:38 +02:00
vc4_irq.c drm/vc4: Convert to Linux IRQ interfaces 2021-08-10 20:13:53 +02:00
vc4_kms.c drm/vc4: kms: Take old state core clock rate into account 2022-06-09 10:25:38 +02:00
vc4_packet.h
vc4_perfmon.c
vc4_plane.c drm/vc4: plane: Add support for YUV color encodings and ranges 2021-12-16 11:23:23 +01:00
vc4_qpu_defines.h
vc4_regs.h drm/vc4: hvs: Fix frame count register readout 2022-06-09 10:25:38 +02:00
vc4_render_cl.c
vc4_trace.h
vc4_trace_points.c
vc4_txp.c drm/vc4: txp: Force alpha to be 0xff if it's disabled 2022-06-09 10:25:38 +02:00
vc4_v3d.c drm/vc4: Convert to Linux IRQ interfaces 2021-08-10 20:13:53 +02:00
vc4_validate.c
vc4_validate_shaders.c
vc4_vec.c drm/vc4: Separate VEC compatible variants 2021-05-24 13:52:33 +02:00