mbox series

[v2,0/2] Improvements/fixes on the DPI interface

Message ID 20241022082433.32513-1-biju.das.jz@bp.renesas.com (mailing list archive)
Headers show
Series Improvements/fixes on the DPI interface | expand

Message

Biju Das Oct. 22, 2024, 8:24 a.m. UTC
This patch series aims to add fixes/improvements based on the latest
RZ/G2UL hardware manual

As per Table 33.4 Clock List, the maximum dot clock for the DPI interface
is 83.5 MHz. so, reject modes higher than 83.5 MHz.

Also drop DPI_OE macro as the bit definition is removed from the latest
RZ/G2UL and RZ/G2L hardware manual.

Changes in v2:
 * Added as a patch series as the patches fix the same driver
 * Added Fixes tag for patch#1
 * Moved .mode_valid from crtc to encoder as the new state is not
   available in crtc and instead, we could check renc->output for
   .mode_valid() function of drm_encoder.
 * Dropped rzg2l_du_crtc_atomic_check().

Biju Das (2):
  drm: renesas: rz-du: Drop DU_MCR0_DPI_OE macro
  drm: renesas: rz-du: rzg2l_du_encoder: Fix max dot clock for DPI

 drivers/gpu/drm/renesas/rz-du/rzg2l_du_crtc.c  |  8 +-------
 .../gpu/drm/renesas/rz-du/rzg2l_du_encoder.c   | 18 ++++++++++++++++++
 2 files changed, 19 insertions(+), 7 deletions(-)