Re: [V2][PATCH 1/2] drm: xlnx: add is_layer_vid() to simplify the code

2021-05-20 Thread quanyang.wang
Hi Laurent, Thank you for your review. On 5/20/21 5:37 PM, Laurent Pinchart wrote: Hi Quanyang, Thank you for the patch. On Tue, May 18, 2021 at 05:50:18PM +0800, quanyang.w...@windriver.com wrote: From: Quanyang Wang Add a new function is_layer_vid() to simplify the code that judges if a

Re: [V2][PATCH 1/2] drm: xlnx: add is_layer_vid() to simplify the code

2021-05-20 Thread Laurent Pinchart
Hi Quanyang, Thank you for the patch. On Tue, May 18, 2021 at 05:50:18PM +0800, quanyang.w...@windriver.com wrote: > From: Quanyang Wang > > Add a new function is_layer_vid() to simplify the code that > judges if a layer is the video layer. I like this, and especially passing the layer pointer

[V2][PATCH 1/2] drm: xlnx: add is_layer_vid() to simplify the code

2021-05-18 Thread quanyang . wang
From: Quanyang Wang Add a new function is_layer_vid() to simplify the code that judges if a layer is the video layer. Acked-by: Paul Cercueil Signed-off-by: Quanyang Wang --- drivers/gpu/drm/xlnx/zynqmp_disp.c | 39 +- 1 file changed, 22 insertions(+), 17 deletions

Re: [PATCH 1/2] drm: xlnx: add is_layer_vid() to simplify the code

2021-05-17 Thread quanyang.wang
Hi Paul, Thank you for your review. I will update these in V2 patch. Thanks, Quanyang On 5/18/21 12:48 AM, Paul Cercueil wrote: Hi Quanyang, Le jeu., mai 13 2021 at 19:45:39 +0800, quanyang.w...@windriver.com a écrit : From: Quanyang Wang Add a new function is_layer_vid() to simplify the c

Re: [PATCH 1/2] drm: xlnx: add is_layer_vid() to simplify the code

2021-05-17 Thread Paul Cercueil
Hi Quanyang, Le jeu., mai 13 2021 at 19:45:39 +0800, quanyang.w...@windriver.com a écrit : From: Quanyang Wang Add a new function is_layer_vid() to simplify the code that judges if a layer is the video layer. Signed-off-by: Quanyang Wang --- drivers/gpu/drm/xlnx/zynqmp_disp.c | 39 +++

[PATCH 1/2] drm: xlnx: add is_layer_vid() to simplify the code

2021-05-13 Thread quanyang . wang
From: Quanyang Wang Add a new function is_layer_vid() to simplify the code that judges if a layer is the video layer. Signed-off-by: Quanyang Wang --- drivers/gpu/drm/xlnx/zynqmp_disp.c | 39 +- 1 file changed, 22 insertions(+), 17 deletions(-) diff --git a/drivers