All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/2] drm/bridge: analogix_dp: Self-refresh state machine fixes
@ 2022-02-28 20:25 ` Brian Norris
  0 siblings, 0 replies; 20+ messages in thread
From: Brian Norris @ 2022-02-28 20:25 UTC (permalink / raw)
  To: Andrzej Hajda, Neil Armstrong, Robert Foss, David Airlie,
	Daniel Vetter, Maarten Lankhorst, Maxime Ripard,
	Thomas Zimmermann
  Cc: dri-devel, Sean Paul, Jernej Skrabec, Sean Paul,
	Laurent Pinchart, Jonas Karlman, Heiko Stuebner, linux-kernel,
	Brian Norris, Liu Ying

Hi,

I've been investigating several eDP issues on a Rockchip RK3399 system
and have two proposed bugfixes. RK3399 has two CRTCs, either of which
can be used for eDP output. For both fixes, we have bugs due to the
relationship between the generalized "self refresh helpers" and the
analogix-dp bridge driver which controls much of the PSR mechanics.
These bugs are most visible when switching between CRTCs.

I'm not a DRM expert, but I've been poking at a lot of Rockchip display
drivers recently. I'd love some skeptical eyes, so feel free to ask
questions if I haven't explained issues well, or the proposals look
fishy.

Regards,
Brian

Changes in v2:
- Drop "->enable" condition in crtc_needs_disable(); this could possibly
  be "->active" to reflect the intended hardware state, but it also is a
  little over-specific. We want to make a transition through "disabled"
  any time we're exiting PSR at the same time as a CRTC switch.
  (Thanks Liu Ying)

Brian Norris (2):
  drm/bridge: analogix_dp: Support PSR-exit to disable transition
  drm/atomic: Force bridge self-refresh-exit on CRTC switch

 .../drm/bridge/analogix/analogix_dp_core.c    | 42 +++++++++++++++++--
 drivers/gpu/drm/drm_atomic_helper.c           | 16 +++++--
 2 files changed, 51 insertions(+), 7 deletions(-)

-- 
2.35.1.574.g5d30c73bfb-goog


^ permalink raw reply	[flat|nested] 20+ messages in thread

end of thread, other threads:[~2022-06-07  0:57 UTC | newest]

Thread overview: 20+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-02-28 20:25 [PATCH v2 0/2] drm/bridge: analogix_dp: Self-refresh state machine fixes Brian Norris
2022-02-28 20:25 ` Brian Norris
2022-02-28 20:25 ` [PATCH v2 1/2] drm/bridge: analogix_dp: Support PSR-exit to disable transition Brian Norris
2022-02-28 20:25   ` Brian Norris
2022-02-28 20:25 ` [PATCH v2 2/2] drm/atomic: Force bridge self-refresh-exit on CRTC switch Brian Norris
2022-02-28 20:25   ` Brian Norris
2022-03-01  3:34   ` Liu Ying
2022-03-01  3:34     ` Liu Ying
2022-03-10 23:50 ` [PATCH v2 0/2] drm/bridge: analogix_dp: Self-refresh state machine fixes Brian Norris
2022-03-10 23:50   ` Brian Norris
2022-05-23 21:51   ` Brian Norris
2022-05-23 21:51     ` Brian Norris
2022-06-03 15:11     ` Sean Paul
2022-06-03 15:11       ` Sean Paul
2022-06-03 15:17       ` Doug Anderson
2022-06-03 15:17         ` Doug Anderson
2022-06-06 20:30         ` Doug Anderson
2022-06-06 20:30           ` Doug Anderson
2022-06-07  0:56           ` Brian Norris
2022-06-07  0:56             ` Brian Norris

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.