All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v3 0/7] drm/vc4: Rework the HVS muxing code
@ 2020-11-05 13:56 ` Maxime Ripard
  0 siblings, 0 replies; 60+ messages in thread
From: Maxime Ripard @ 2020-11-05 13:56 UTC (permalink / raw)
  To: Eric Anholt, Maarten Lankhorst, Thomas Zimmermann, Maxime Ripard,
	Daniel Vetter, David Airlie, Mark Rutland, Rob Herring,
	Frank Rowand
  Cc: Hoegeun Kwon, Dave Stevenson, Phil Elwell, linux-rpi-kernel,
	Tim Gover, bcm-kernel-feedback-list, devicetree,
	linux-arm-kernel, dri-devel

Hi,

Here's a second attempt at fixing the current issues we have with the
muxing code that results in a PV muxing its HVS muxing when only another
CRTC is modified by a state, or vblank timeouts when trying to wait for a
vblank on a single CRTC while another one is inactive but enabled.

Let me know what you think,
Maxime

Changes from v1:
  - Dropped the code trying to access all the CRTCs (whether in the state
    or not) state
  - Added Hoegeun Kwon's tags
  - Fixed a build bisection error
  - Cleaned up the private state using drmm_add_action_or_reset
  - Rebased on current linux next

Maxime Ripard (7):
  drm/vc4: kms: Switch to drmm_add_action_or_reset
  drm/vc4: kms: Remove useless define
  drm/vc4: kms: Rename NUM_CHANNELS
  drm/vc4: kms: Split the HVS muxing check in a separate function
  drm/vc4: kms: Document the muxing corner cases
  drm/vc4: kms: Store the unassigned channel list in the state
  drm/vc4: kms: Don't disable the muxing of an active CRTC

 drivers/gpu/drm/vc4/vc4_drv.h |   2 +
 drivers/gpu/drm/vc4/vc4_kms.c | 247 +++++++++++++++++++++++++---------
 2 files changed, 185 insertions(+), 64 deletions(-)

-- 
2.28.0


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

end of thread, other threads:[~2020-11-21 11:35 UTC | newest]

Thread overview: 60+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-11-05 13:56 [PATCH v3 0/7] drm/vc4: Rework the HVS muxing code Maxime Ripard
2020-11-05 13:56 ` Maxime Ripard
2020-11-05 13:56 ` Maxime Ripard
2020-11-05 13:56 ` [PATCH v3 1/7] drm/vc4: kms: Switch to drmm_add_action_or_reset Maxime Ripard
2020-11-05 13:56   ` Maxime Ripard
2020-11-05 13:56   ` Maxime Ripard
2020-11-19  7:56   ` Thomas Zimmermann
2020-11-19  7:56     ` Thomas Zimmermann
2020-11-19  7:56     ` Thomas Zimmermann
2020-11-05 13:56 ` [PATCH v3 2/7] drm/vc4: kms: Remove useless define Maxime Ripard
2020-11-05 13:56   ` Maxime Ripard
2020-11-05 13:56   ` Maxime Ripard
2020-11-19  7:57   ` Thomas Zimmermann
2020-11-19  7:57     ` Thomas Zimmermann
2020-11-19  7:57     ` Thomas Zimmermann
2020-11-05 13:56 ` [PATCH v3 3/7] drm/vc4: kms: Rename NUM_CHANNELS Maxime Ripard
2020-11-05 13:56   ` Maxime Ripard
2020-11-05 13:56   ` Maxime Ripard
2020-11-19  7:56   ` Thomas Zimmermann
2020-11-19  7:56     ` Thomas Zimmermann
2020-11-19  7:56     ` Thomas Zimmermann
2020-11-05 13:56 ` [PATCH v3 4/7] drm/vc4: kms: Split the HVS muxing check in a separate function Maxime Ripard
2020-11-05 13:56   ` Maxime Ripard
2020-11-05 13:56   ` Maxime Ripard
2020-11-19  8:04   ` Thomas Zimmermann
2020-11-19  8:04     ` Thomas Zimmermann
2020-11-19  8:04     ` Thomas Zimmermann
2020-11-05 13:56 ` [PATCH v3 5/7] drm/vc4: kms: Document the muxing corner cases Maxime Ripard
2020-11-05 13:56   ` Maxime Ripard
2020-11-05 13:56   ` Maxime Ripard
2020-11-19  8:11   ` Thomas Zimmermann
2020-11-19  8:11     ` Thomas Zimmermann
2020-11-19  8:11     ` Thomas Zimmermann
2020-11-19 13:53     ` Maxime Ripard
2020-11-19 13:53       ` Maxime Ripard
2020-11-19 13:53       ` Maxime Ripard
2020-11-05 13:56 ` [PATCH v3 6/7] drm/vc4: kms: Store the unassigned channel list in the state Maxime Ripard
2020-11-05 13:56   ` Maxime Ripard
2020-11-05 13:56   ` Maxime Ripard
2020-11-19  8:59   ` Thomas Zimmermann
2020-11-19  8:59     ` Thomas Zimmermann
2020-11-19  8:59     ` Thomas Zimmermann
2020-11-19 14:08     ` Maxime Ripard
2020-11-19 14:08       ` Maxime Ripard
2020-11-19 14:08       ` Maxime Ripard
2020-11-20 14:02     ` Maxime Ripard
2020-11-20 14:02       ` Maxime Ripard
2020-11-20 14:02       ` Maxime Ripard
2020-11-05 13:56 ` [PATCH v3 7/7] drm/vc4: kms: Don't disable the muxing of an active CRTC Maxime Ripard
2020-11-05 13:56   ` Maxime Ripard
2020-11-05 13:56   ` Maxime Ripard
2020-11-19  9:12   ` Thomas Zimmermann
2020-11-19  9:12     ` Thomas Zimmermann
2020-11-19  9:12     ` Thomas Zimmermann
2020-11-19 14:32     ` Maxime Ripard
2020-11-19 14:32       ` Maxime Ripard
2020-11-19 14:32       ` Maxime Ripard
2020-11-19 16:08       ` Thomas Zimmermann
2020-11-19 16:08         ` Thomas Zimmermann
2020-11-19 16:08         ` Thomas Zimmermann

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.