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

From: quanyang . wang
Date: Thu May 13 2021 - 07:47:25 EST


From: Quanyang Wang <quanyang.wang@xxxxxxxxxxxxx>

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(-)

--
2.25.1