OpenCloudOS-Kernel/drivers/gpu/drm/meson
Neil Armstrong ce0210c124 drm/meson: Fix atomic mode switching regression
Since commit 2bcd3ecab7 when switching mode from X11 (ubuntu mate for
example) the display gets blurry, looking like an invalid framebuffer width.

This commit fixed atomic crtc modesetting in a totally wrong way and
introduced a local unnecessary ->enabled crtc state.

This commit reverts the crctc _begin() and _enable() changes and simply
adds drm_atomic_helper_commit_tail_rpm as helper.

Reported-by: Tony McKahan <tonymckahan@gmail.com>
Suggested-by: Daniel Vetter <daniel@ffwll.ch>
Fixes: 2bcd3ecab7 ("drm/meson: Fixes for drm_crtc_vblank_on/off support")
Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
Acked-by: Daniel Vetter <daniel.vetter@ffwll.ch>
[narmstrong: fixed blank line issue from checkpatch]
Link: https://patchwork.freedesktop.org/patch/msgid/20190114153118.8024-1-narmstrong@baylibre.com
2019-01-15 13:21:32 +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: Fix atomic mode switching regression 2019-01-15 13:21:32 +01:00
meson_crtc.h
meson_drv.c drm/meson: Fix atomic mode switching regression 2019-01-15 13:21:32 +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 pull request for 4.21-rc1 2018-12-25 11:48:26 -08: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 pull request for 4.21-rc1 2018-12-25 11:48:26 -08: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 pull request for 4.21-rc1 2018-12-25 11:48:26 -08: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