mbox series

[0/2] drm: xlnx: add some functions

Message ID 20210513114540.1241122-1-quanyang.wang@windriver.com (mailing list archive)
Headers show
Series drm: xlnx: add some functions | expand

Message

Quanyang Wang May 13, 2021, 11:45 a.m. UTC
From: Quanyang Wang <quanyang.wang@windriver.com>

The patch "drm: xlnx: add is_layer_vid() to simplify the code" is to
simplify the code which judge the layer type.

The patch "drm: xlnx: consolidate the functions which programming AUDIO_VIDEO_SELECT register"
is to consolidate the code that can configure vid/gfx/audio to output
different mode (live/mem/disable/tpg) in one function "zynqmp_disp_avbuf_output_select".

Thanks,
Quanyang

Quanyang Wang (2):
  drm: xlnx: add is_layer_vid() to simplify the code
  drm: xlnx: consolidate the functions which programming
    AUDIO_VIDEO_SELECT register

 drivers/gpu/drm/xlnx/zynqmp_disp.c      | 191 ++++++++++++++----------
 drivers/gpu/drm/xlnx/zynqmp_disp_regs.h |  15 +-
 2 files changed, 116 insertions(+), 90 deletions(-)