Skip to contentSkip to conversation

linux-next: build failure after merge of the drm-misc tree

PATCH Stephen Rothwell 2 participants 3 messages Dec 6, 2017

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

Hi all,

After merging the drm-misc tree, today's linux-next build (x86_64 allmodconfig) failed like this:

drivers/gpu/drm/i915/intel_dsi.c: In function 'intel_dsi_get_panel_orientation':
drivers/gpu/drm/i915/intel_dsi.c:1673:13: error: storage size of 'plane' isn't known

  enum plane plane;
             ^

Caused by commit

82daca297506 ("drm/i915: Add "panel orientation" property to the panel connector, v6.")

interacting with commit

ed15030d7ab0 ("drm/i915: s/enum plane/enum i9xx_plane_id/")

from the drm-intel tree.

I have applied the following merge fix patch for today.

From: Stephen Rothwell <[email protected]>
Date: Wed, 6 Dec 2017 11:56:32 +1100
Subject: [PATCH] drm/i915: fix up for "drm/i915: s/enum plane/enum
i9xx_plane_id/"

---
 drivers/gpu/drm/i915/intel_dsi.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/i915/intel_dsi.c +1 -1
index 1b60df3c14a0..f67d321376e4 100644
@@ -1670,7 +1670,7 @@ static int intel_dsi_get_panel_orientation(struct intel_connector *connector)
 {
 	struct drm_i915_private *dev_priv = to_i915(connector->base.dev);
 	int orientation = DRM_MODE_PANEL_ORIENTATION_NORMAL;
-	enum plane plane;
+	enum i9xx_plane_id plane;
 	u32 val;
 
 	if (IS_VALLEYVIEW(dev_priv) || IS_CHERRYVIEW(dev_priv)) {
Signature · 5 lines
2.15.0

-- 
Cheers,
Stephen Rothwell
maintainer
#1 lore raw
Quoted 1 line · Stephen Rothwell

Hi all,

Hi Stephen,

I had just written the email for you about this.
Feel free to ignore that one since you already found the solution and sorry for the delay on warning you.

Quoted 13 lines

After merging the drm-misc tree, today's linux-next build (x86_64 allmodconfig) failed like this:

drivers/gpu/drm/i915/intel_dsi.c: In function 'intel_dsi_get_panel_orientation':
drivers/gpu/drm/i915/intel_dsi.c:1673:13: error: storage size of 'plane' isn't known

  enum plane plane;
             ^

Caused by commit

82daca297506 ("drm/i915: Add "panel orientation" property to the panel connector, v6.")

Quoted 7 lines

interacting with commit

ed15030d7ab0 ("drm/i915: s/enum plane/enum i9xx_plane_id/")

from the drm-intel tree.

I have applied the following merge fix patch for today.

Yes, that's the right one.

Thanks,
Rodrigo.

Quoted 34 lines

From: Stephen Rothwell <[email protected]>
Date: Wed, 6 Dec 2017 11:56:32 +1100
Subject: [PATCH] drm/i915: fix up for "drm/i915: s/enum plane/enum
i9xx_plane_id/"

---
 drivers/gpu/drm/i915/intel_dsi.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/i915/intel_dsi.c +1 -1
index 1b60df3c14a0..f67d321376e4 100644
@@ -1670,7 +1670,7 @@ static int intel_dsi_get_panel_orientation(struct intel_connector *connector)
 {
 	struct drm_i915_private *dev_priv = to_i915(connector->base.dev);
 	int orientation = DRM_MODE_PANEL_ORIENTATION_NORMAL;
-	enum plane plane;
+	enum i9xx_plane_id plane;
 	u32 val;
 
 	if (IS_VALLEYVIEW(dev_priv) || IS_CHERRYVIEW(dev_priv)) {
Signature · 9 lines
2.15.0

-- 
Cheers,
Stephen Rothwell
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
#2 lore raw

Hi Rodrigo,

Quoted 4 lines · On Tue, 5 Dec 2017 17:21:54 -0800 Rodrigo Vivi <[email protected]> wrote:

I had just written the email for you about this.
Feel free to ignore that one since you already found the solution and sorry for the delay on warning you.

And I should read all my email before responding to earlier ones :-)

Signature · 2 lines
Cheers,
Stephen Rothwell