mbox series

[0/4] drm: lcdif: Improve YUV support

Message ID 20220927233821.8007-1-laurent.pinchart@ideasonboard.com (mailing list archive)
Headers show
Series drm: lcdif: Improve YUV support | expand

Message

Laurent Pinchart Sept. 27, 2022, 11:38 p.m. UTC
Hello,

This small patch series improves YUV support in the i.MX8MP LCDIF
driver. After patches 1/4 and 2/4 that fix tiny cosmetic issues, patch
3/4 fixes YUV quantization range for the RGB to YUV conversion. Patch
4/4 addresses the other direction and adds support for YUV planes.

Please see individual patches for details.

The series has been tested on a Polyhex Debix board with the currently
out-of-tree HDMI encoder support patches developed by Lucas Stach.

Kieran Bingham (1):
  drm: lcdif: Add support for YUV planes

Laurent Pinchart (3):
  drm: lcdif: Fix indentation in lcdif_regs.h
  drm: lcdif: Don't use BIT() for multi-bit register fields
  drm: lcdif: Switch to limited range for RGB to YUV conversion

 drivers/gpu/drm/mxsfb/lcdif_kms.c  | 117 ++++++++++++++++++++++++-----
 drivers/gpu/drm/mxsfb/lcdif_regs.h |  37 ++++-----
 2 files changed, 117 insertions(+), 37 deletions(-)