lkml.org 
[lkml]   [2020]   [Jun]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH v4 0/9] drm/vc4: Turn the TXP into a CRTC
Date
Hi,

This is another part of the rpi4 HDMI series that got promoted to a
series of its own to try to reduce the main one.

This rework is needed since the bcm2711 used in the rpi4 has a more
complex routing in the HVS that doesn't allow to use a fairly simple
mapping like what was used before.

Since that mapping affects both the pixelvalves and the TXP, turning the
TXP into a CRTC just like pixelvalves are allows to deal with the
mapping in the CRTC states, which turns out to be pretty convenient.

Let me know what you think,
Maxime

Changes from v3:
- Stripped the patches out of the main HDMI series
- Change the bind order of the HVS to avoid a compatible check
- Added Eric's tags
- Rebased on top of drm-misc-next

Maxime Ripard (9):
drm/vc4: Reorder the bind order of the devices
drm/vc4: crtc: Move HVS setup code to the HVS driver
drm/vc4: crtc: Make state functions public
drm/vc4: crtc: Split CRTC data in two
drm/vc4: crtc: Only access the PixelValve registers if we have to
drm/vc4: crtc: Move the CRTC initialisation to a separate function
drm/vc4: crtc: Move the txp_armed function to the TXP
drm/vc4: txp: Turn the TXP into a CRTC of its own
drm/vc4: crtc: Remove the feed_txp tests

drivers/gpu/drm/vc4/vc4_crtc.c | 427 ++++++----------------------------
drivers/gpu/drm/vc4/vc4_drv.c | 2 +-
drivers/gpu/drm/vc4/vc4_drv.h | 38 ++-
drivers/gpu/drm/vc4/vc4_hvs.c | 291 +++++++++++++++++++++++-
drivers/gpu/drm/vc4/vc4_txp.c | 109 ++++++++-
5 files changed, 522 insertions(+), 345 deletions(-)

base-commit: ebd11f706c9d9756edad5b5f3f3310d77d77f60c
--
git-series 0.9.1

\
 
 \ /
  Last update: 2020-06-11 15:48    [W:1.136 / U:0.052 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site