Skip to content

drm: xlnx: add some functions

[email protected] dri-devel linux-arm-kernel lkml 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest2 patches 5 repliesIn review
  2. v12 patches 4 repliesSuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2drm: xlnx: add is_layer_vid() to simplify the codedrivers/gpu/drm/xlnx/zynqmp_disp.c+22 -172 replies
2/2drm: xlnx: consolidate the functions which programming AUDIO_VIDEO_SELECT registerdrivers/gpu/drm/xlnx/zynqmp_disp.c drivers/gpu/drm/xlnx/zynqmp_disp_regs.h+106 -853 replies

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchPaul CercueilLaurent Pinchart
1/2A-b R-b
2/2A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

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

From: Quanyang Wang <[email protected]>

Hi all,

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".

Changelogs:

V1 ---> V2:
- As per Paul's comments, add "const" to the argument "layer" of the function is_layer_vid, and just return the result of "==" operator, and add Acked-by from Paul.
- As per Paul's comments, fix some pattern errors and use FIELD_PREP() macro instead of *_SHIFT and use GENMASK/BIT to create *_MASK macros.

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      | 193 ++++++++++++++----------
 drivers/gpu/drm/xlnx/zynqmp_disp_regs.h |  23 +--
 2 files changed, 121 insertions(+), 95 deletions(-)
Signature · 1 line
2.25.1