linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [V2][PATCH 0/2] drm: xlnx: add some functions
@ 2021-05-18  9:50 quanyang.wang
  2021-05-18  9:50 ` [V2][PATCH 1/2] drm: xlnx: add is_layer_vid() to simplify the code quanyang.wang
  2021-05-18  9:50 ` [V2][PATCH 2/2] drm: xlnx: consolidate the functions which programming AUDIO_VIDEO_SELECT register quanyang.wang
  0 siblings, 2 replies; 8+ messages in thread
From: quanyang.wang @ 2021-05-18  9:50 UTC (permalink / raw)
  To: Paul Cercueil, Hyun Kwon, Laurent Pinchart, David Airlie,
	Daniel Vetter, Michal Simek
  Cc: dri-devel, linux-arm-kernel, linux-kernel, Quanyang Wang

From: Quanyang Wang <quanyang.wang@windriver.com>

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

-- 
2.25.1


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2021-05-20 10:48 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-05-18  9:50 [V2][PATCH 0/2] drm: xlnx: add some functions quanyang.wang
2021-05-18  9:50 ` [V2][PATCH 1/2] drm: xlnx: add is_layer_vid() to simplify the code quanyang.wang
2021-05-20  9:37   ` Laurent Pinchart
2021-05-20  9:50     ` quanyang.wang
2021-05-18  9:50 ` [V2][PATCH 2/2] drm: xlnx: consolidate the functions which programming AUDIO_VIDEO_SELECT register quanyang.wang
2021-05-19 11:22   ` Paul Cercueil
2021-05-20  9:56   ` Laurent Pinchart
2021-05-20 10:45     ` quanyang.wang

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).