linux_dsm_epyc7002/drivers/gpu/drm/omapdrm
Tony Lindgren 36a1da15b5 drm/omap: hdmi4_cec: Fix CEC clock handling for PM
If CONFIG_OMAP4_DSS_HDMI_CEC is enabled in .config, deeper SoC idle
states are blocked because the CEC clock gets always enabled on init.

Let's fix the issue by moving the CEC clock handling to happen later in
hdmi_cec_adap_enable() as suggested by Hans Verkuil <hverkuil@xs4all.nl>.
This way the CEC clock gets only enabled when needed. This can be tested
by doing cec-ctl --playback to enable the CEC, and doing cec-ctl --clear
to disable it.

Let's also fix the typo for "divider" in the comments while at it.

Fixes: 8d7f934df8 ("omapdrm: hdmi4_cec: add OMAP4 HDMI CEC support")
Suggested-by: Hans Verkuil <hverkuil@xs4all.nl>
Cc: Hans Verkuil <hverkuil@xs4all.nl>
Cc: Jyri Sarha <jsarha@ti.com>
Cc: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
Reviewed-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20190326151438.32414-1-tony@atomide.com
2019-03-27 11:10:51 +02:00
..
displays drm/omap: fix bus_flags for panel-dpi 2018-12-03 14:36:05 +02:00
dss drm/omap: hdmi4_cec: Fix CEC clock handling for PM 2019-03-27 11:10:51 +02:00
Kconfig
Makefile
omap_connector.c drm: Split out drm_probe_helper.h 2019-01-24 13:20:42 +01:00
omap_connector.h
omap_crtc.c drm: Split out drm_probe_helper.h 2019-01-24 13:20:42 +01:00
omap_crtc.h
omap_debugfs.c
omap_dmm_priv.h drm/omap: partial workaround for DRA7xx DMM errata i878 2018-10-02 09:36:56 +03:00
omap_dmm_tiler.c drm/omap: partial workaround for DRA7xx DMM errata i878 2018-10-02 09:36:56 +03:00
omap_dmm_tiler.h
omap_drv.c drm: Split out drm_probe_helper.h 2019-01-24 13:20:42 +01:00
omap_drv.h drm: Split out drm_probe_helper.h 2019-01-24 13:20:42 +01:00
omap_encoder.c drm: Split out drm_probe_helper.h 2019-01-24 13:20:42 +01:00
omap_encoder.h
omap_fb.c drm: Split out drm_probe_helper.h 2019-01-24 13:20:42 +01:00
omap_fb.h
omap_fbdev.c drm: move drm_can_sleep() to drm_util.h 2019-01-14 10:58:37 +01:00
omap_fbdev.h
omap_gem_dmabuf.c drm/omap: Replace drm_gem_object_{un/reference} with put,get functions 2018-10-02 09:36:56 +03:00
omap_gem.c drm/omap: Replace drm_gem_object_unreference_unlocked with put function 2018-10-02 09:36:56 +03:00
omap_gem.h
omap_irq.c
omap_irq.h
omap_plane.c
omap_plane.h
tcm-sita.c
tcm.h
TODO