1
0
Fork 0
alistair23-linux/drivers/gpu/drm/meson
Neil Armstrong 3a936bc286 drm/meson: Fix an Alpha Primary Plane bug on Meson GXL/GXM SoCs
On the Amlogic GXL & GXM SoCs, a bug occurs on the primary plane when
alpha is used where the alpha is not aligned with the pixel content.

The workaround Amlogic implemented is to reset the OSD1 plane hardware
block each time the plane is (re)enabled, solving the issue.

In the reset, we still need to save the content of 2 registers which
depends on the status of the plane, in addition to reload the scaler
conversion matrix at the same time.

Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
Tested-by: Maxime Jourdan <mjourdan@baylibre.com>
Reviewed-by: Maxime Jourdan <mjourdan@baylibre.com>
[narmstrong: fixed typo in commit log]
Link: https://patchwork.freedesktop.org/patch/msgid/20181128100734.6536-1-narmstrong@baylibre.com
2018-12-03 11:12:09 +01:00
..
Kconfig drm/meson: Use optional canvas provider 2018-11-13 11:51:34 +01:00
Makefile drm/meson: Support Overlay plane for video rendering 2018-11-13 13:27:51 +01:00
meson_canvas.c drm/meson: Support Overlay plane for video rendering 2018-11-13 13:27:51 +01:00
meson_canvas.h drm/meson: Support Overlay plane for video rendering 2018-11-13 13:27:51 +01:00
meson_crtc.c drm/meson: move OSD scaler management into plane atomic update 2018-11-13 13:27:51 +01:00
meson_crtc.h
meson_drv.c drm/meson: Support Overlay plane for video rendering 2018-11-13 13:27:51 +01:00
meson_drv.h drm/meson: move OSD scaler management into plane atomic update 2018-11-13 13:27:51 +01:00
meson_dw_hdmi.c drm/meson: Add support for VIC alternate timings 2018-11-27 16:39:49 +01:00
meson_dw_hdmi.h drm/meson: Add support for HDMI encoder and DW-HDMI bridge + PHY 2017-04-04 17:49:31 +02:00
meson_overlay.c drm/meson: Add implicit fencing support for primary and overlay planes 2018-11-21 12:20:53 +01:00
meson_overlay.h drm/meson: Support Overlay plane for video rendering 2018-11-13 13:27:51 +01:00
meson_plane.c drm/meson: Fix an Alpha Primary Plane bug on Meson GXL/GXM SoCs 2018-12-03 11:12:09 +01:00
meson_plane.h
meson_registers.h drm/meson: Support Overlay plane for video rendering 2018-11-13 13:27:51 +01:00
meson_vclk.c drm/meson: Add support for VIC alternate timings 2018-11-27 16:39:49 +01:00
meson_vclk.h drm/meson: Add support for VIC alternate timings 2018-11-27 16:39:49 +01:00
meson_venc.c drm-misc-next for v4.21: 2018-11-29 10:28:49 +10:00
meson_venc.h drm/meson: Make DMT timings parameters and pixel clock generic 2018-07-16 11:14:59 +02:00
meson_venc_cvbs.c drm: drop _mode_ from drm_mode_connector_attach_encoder 2018-07-13 18:40:27 +02:00
meson_venc_cvbs.h
meson_viu.c drm/meson: Fix an Alpha Primary Plane bug on Meson GXL/GXM SoCs 2018-12-03 11:12:09 +01:00
meson_viu.h drm/meson: Fix an Alpha Primary Plane bug on Meson GXL/GXM SoCs 2018-12-03 11:12:09 +01:00
meson_vpp.c drm/meson: move OSD scaler management into plane atomic update 2018-11-13 13:27:51 +01:00
meson_vpp.h drm/meson: Add support for HDMI venc modes and settings 2017-04-04 17:49:31 +02:00