mirror of
https://github.com/edk2-porting/linux-next.git
synced 2025-01-05 20:24:09 +08:00
7035046d6d
Currently the exclusivity is enabled when the rate is set by the mode setting functions. These functions are called by mode_set_nofb callback of drm_crc_helper. Then exclusivity is disabled when tcon is disabled by atomic_disable callback. What happens is that mode_set_nofb can be called once when mode changes, and afterwards the system can call atomic_enable and atomic_disable multiple times without further calls to mode_set_nofb. This happens: mode_set_nofb - clk exclusivity is enabled atomic_enable atomic_disable - clk exclusivity is disabled atomic_enable atomic_disable - clk exclusivity is already disabled, leading to WARN in clk_rate_exclusive_put Solution is to enable exclusivity in sun4i_tcon_channel_set_status. Signed-off-by: Ondrej Jirman <megous@megous.com> Cc: Jernej Skrabec <jernej.skrabec@siol.net> Signed-off-by: Maxime Ripard <maxime.ripard@bootlin.com> Link: https://patchwork.freedesktop.org/patch/msgid/20180310110511.14697-1-megous@megous.com |
||
---|---|---|
.. | ||
Kconfig | ||
Makefile | ||
sun4i_backend.c | ||
sun4i_backend.h | ||
sun4i_crtc.c | ||
sun4i_crtc.h | ||
sun4i_dotclock.c | ||
sun4i_dotclock.h | ||
sun4i_drv.c | ||
sun4i_drv.h | ||
sun4i_framebuffer.c | ||
sun4i_framebuffer.h | ||
sun4i_hdmi_ddc_clk.c | ||
sun4i_hdmi_enc.c | ||
sun4i_hdmi_i2c.c | ||
sun4i_hdmi_tmds_clk.c | ||
sun4i_hdmi.h | ||
sun4i_layer.c | ||
sun4i_layer.h | ||
sun4i_lvds.c | ||
sun4i_lvds.h | ||
sun4i_rgb.c | ||
sun4i_rgb.h | ||
sun4i_tcon.c | ||
sun4i_tcon.h | ||
sun4i_tv.c | ||
sun6i_drc.c | ||
sun8i_csc.c | ||
sun8i_csc.h | ||
sun8i_mixer.c | ||
sun8i_mixer.h | ||
sun8i_ui_layer.c | ||
sun8i_ui_layer.h | ||
sun8i_ui_scaler.c | ||
sun8i_ui_scaler.h | ||
sun8i_vi_layer.c | ||
sun8i_vi_layer.h | ||
sun8i_vi_scaler.c | ||
sun8i_vi_scaler.h | ||
sunxi_engine.h |