Skip to contentSkip to conversation

drm: rcar-du: enable VSPDs on R8A7791

PATCH In review Sergei Shtylyov 2 participants 5 messages Dec 14, 2016 – Dec 26, 2016

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 drm: rcar-du: enable VSPDs on R8A7791

We're going to use R8A7791 VSPDs to control DU, so set the corresponding flag.

---
The patch is against David Airlie's 'linux.git' repo's 'drm-next' branch.

 drivers/gpu/drm/rcar-du/rcar_du_drv.c |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
drivers/gpu/drm/rcar-du/rcar_du_drv.c +2 -1
Index: linux/drivers/gpu/drm/rcar-du/rcar_du_drv.c
===================================================================
@@ -90,7 +90,8 @@ static const struct rcar_du_device_info
 static const struct rcar_du_device_info rcar_du_r8a7791_info = {
 	.gen = 2,
 	.features = RCAR_DU_FEATURE_CRTC_IRQ_CLOCK
-		  | RCAR_DU_FEATURE_EXT_CTRL_REGS,
+		  | RCAR_DU_FEATURE_EXT_CTRL_REGS
+		  | RCAR_DU_FEATURE_VSP1_SOURCE,
 	.num_crtcs = 2,
 	.routes = {
 		/* R8A779[13] has one RGB output, one LVDS output and one
#1 lore raw

Hi Sergei,

Thank you for the patch.

Quoted 4 lines · On Wednesday 14 Dec 2016 23:37:08 Sergei Shtylyov wrote:

We're going to use R8A7791 VSPDs to control DU, so set the corresponding flag.

For the same reason I nacked the corresponding patch to the VSP1 driver, I have to nack this one as well. The Gen2 DU has native planes, this patch would prevent using them. I don't see a good reason to do so.

Quoted 20 lines

---
The patch is against David Airlie's 'linux.git' repo's 'drm-next' branch.

 drivers/gpu/drm/rcar-du/rcar_du_drv.c |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

Index: linux/drivers/gpu/drm/rcar-du/rcar_du_drv.c
===================================================================

drivers/gpu/drm/rcar-du/rcar_du_drv.c +2 -1
@@ -90,7 +90,8 @@ static const struct rcar_du_device_info
 static const struct rcar_du_device_info rcar_du_r8a7791_info = {
 	.gen = 2,
 	.features = RCAR_DU_FEATURE_CRTC_IRQ_CLOCK
-		  | RCAR_DU_FEATURE_EXT_CTRL_REGS,
+		  | RCAR_DU_FEATURE_EXT_CTRL_REGS
+		  | RCAR_DU_FEATURE_VSP1_SOURCE,
 	.num_crtcs = 2,
 	.routes = {
 		/* R8A779[13] has one RGB output, one LVDS output and one
Signature · 8 lines
Regards,

Laurent Pinchart

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
#2 lore raw

Hello!

Quoted 8 lines · Laurent Pinchart
Quoted 4 lines

We're going to use R8A7791 VSPDs to control DU, so set the corresponding flag.

For the same reason I nacked the corresponding patch to the VSP1 driver, I have to nack this one as well. The Gen2 DU has native planes, this patch would prevent using them. I don't see a good reason to do so.

One of the reasons is that these patches kill the horizontal noise when
playing video in Weston...

WBR, Sergei

#3 lore raw

Hi Sergei,

Quoted 4 lines · On Monday 19 Dec 2016 22:58:57 Sergei Shtylyov wrote:
Quoted 3 lines · Laurent Pinchart
Quoted 3 lines

We're going to use R8A7791 VSPDs to control DU, so set the corresponding flag.

Quoted 8 lines
Quoted 5 lines
Quoted 1 line

For the same reason I nacked the corresponding patch to the VSP1 driver, I have to nack this one as well. The Gen2 DU has native planes, this patch would prevent using them. I don't see a good reason to do so.

One of the reasons is that these patches kill the horizontal noise when playing video in Weston...

What horizontal noise ? :-)

Signature · 3 lines
Regards,

Laurent Pinchart
#4 lore raw
Quoted 5 lines · Laurent Pinchart
Quoted 5 lines
Quoted 5 lines
Quoted 4 lines

We're going to use R8A7791 VSPDs to control DU, so set the corresponding flag.

Quoted 8 lines
Quoted 6 lines
Quoted 3 lines

For the same reason I nacked the corresponding patch to the VSP1 driver, I have to nack this one as well. The Gen2 DU has native planes, this patch would prevent using them. I don't see a good reason to do so.

One of the reasons is that these patches kill the horizontal noise when playing video in Weston...

What horizontal noise ? :-)

Occurs with V4L2 renderer... :-)

MBR, Sergei