linux_dsm_epyc7002/drivers/gpu/drm/vc4
Maxime Ripard 2820526dd5
drm/vc4: kms: Don't disable the muxing of an active CRTC
The current HVS muxing code will consider the CRTCs in a given state to
setup their muxing in the HVS, and disable the other CRTCs muxes.

However, it's valid to only update a single CRTC with a state, and in this
situation we would mux out a CRTC that was enabled but left untouched by
the new state.

Fix this by setting a flag on the CRTC state when the muxing has been
changed, and only change the muxing configuration when that flag is there.

Fixes: 87ebcd42fb ("drm/vc4: crtc: Assign output to channel automatically")
Signed-off-by: Maxime Ripard <maxime@cerno.tech>
Tested-by: Hoegeun Kwon <hoegeun.kwon@samsung.com>
Reviewed-by: Hoegeun Kwon <hoegeun.kwon@samsung.com>
Reviewed-by: Thomas Zimmermann <tzimmermann@suse.de>
Link: https://patchwork.freedesktop.org/patch/msgid/20201120144245.398711-3-maxime@cerno.tech
2020-11-23 17:59:30 +01:00
..
Kconfig
Makefile
vc4_bo.c drm/vc4: Use devm_drm_dev_alloc 2020-11-02 12:14:50 +01:00
vc4_crtc.c
vc4_debugfs.c
vc4_dpi.c
vc4_drv.c drm/vc4: drv: Remove unused variable 2020-11-03 10:11:05 +01:00
vc4_drv.h drm/vc4: kms: Don't disable the muxing of an active CRTC 2020-11-23 17:59:30 +01:00
vc4_dsi.c
vc4_fence.c
vc4_gem.c drm/vc4: Use devm_drm_dev_alloc 2020-11-02 12:14:50 +01:00
vc4_hdmi_phy.c
vc4_hdmi_regs.h
vc4_hdmi.c drm/vc4: hdmi: Disable Wifi Frequencies 2020-11-19 15:46:08 +01:00
vc4_hdmi.h drm/vc4: hdmi: Disable Wifi Frequencies 2020-11-19 15:46:08 +01:00
vc4_hvs.c drm/vc4: Use the helper to retrieve vc4_dev when needed 2020-11-02 12:14:46 +01:00
vc4_irq.c
vc4_kms.c drm/vc4: kms: Don't disable the muxing of an active CRTC 2020-11-23 17:59:30 +01:00
vc4_packet.h
vc4_perfmon.c
vc4_plane.c
vc4_qpu_defines.h
vc4_regs.h
vc4_render_cl.c
vc4_trace_points.c
vc4_trace.h
vc4_txp.c
vc4_v3d.c drm/vc4: Use devm_drm_dev_alloc 2020-11-02 12:14:50 +01:00
vc4_validate_shaders.c
vc4_validate.c
vc4_vec.c