linux-fbdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: kbuild test robot <lkp@intel.com>
To: linux-fbdev@vger.kernel.org
Subject: Re: [Intel-gfx] [PATCH v6 5/7] drm/i915: Add "panel orientation" property to the panel connector, v6
Date: Tue, 28 Nov 2017 20:46:17 +0000	[thread overview]
Message-ID: <201711290209.usBYWi9P%fengguang.wu@intel.com> (raw)
In-Reply-To: <20171128102558.gljglrsnddmmdayh@phenom.ffwll.local>

[-- Attachment #1: Type: text/plain, Size: 1922 bytes --]

Hi Hans,

I love your patch! Yet something to improve:

[auto build test ERROR on linus/master]
[also build test ERROR on v4.15-rc1 next-20171128]
[if your patch is applied to the wrong git tree, please drop us a note to help improve the system]

url:    https://github.com/0day-ci/linux/commits/Hans-de-Goede/drm-fbdev-Panel-orientation-connector-property-support/20171128-225025
config: x86_64-randconfig-x012-201748 (attached as .config)
compiler: gcc-7 (Debian 7.2.0-12) 7.2.1 20171025
reproduce:
        # save the attached .config to linux build tree
        make ARCH=x86_64 

All errors (new ones prefixed by >>):

   drivers/gpu/drm/i915/intel_dsi.c: In function 'intel_dsi_get_panel_orientation':
   drivers/gpu/drm/i915/intel_dsi.c:1672:21: error: storage size of 'plane' isn't known
     enum i9xx_plane_id plane;
                        ^~~~~
>> drivers/gpu/drm/i915/intel_dsi.c:1672:21: error: unused variable 'plane' [-Werror=unused-variable]
   cc1: all warnings being treated as errors

vim +/plane +1672 drivers/gpu/drm/i915/intel_dsi.c

  1667	
  1668	static int intel_dsi_get_panel_orientation(struct intel_connector *connector)
  1669	{
  1670		struct drm_i915_private *dev_priv = to_i915(connector->base.dev);
  1671		int orientation = DRM_MODE_PANEL_ORIENTATION_NORMAL;
> 1672		enum i9xx_plane_id plane;
  1673		u32 val;
  1674	
  1675		if (IS_VALLEYVIEW(dev_priv) || IS_CHERRYVIEW(dev_priv)) {
  1676			if (connector->encoder->crtc_mask == BIT(PIPE_B))
  1677				plane = PLANE_B;
  1678			else
  1679				plane = PLANE_A;
  1680	
  1681			val = I915_READ(DSPCNTR(plane));
  1682			if (val & DISPPLANE_ROTATE_180)
  1683				orientation = DRM_MODE_PANEL_ORIENTATION_BOTTOM_UP;
  1684		}
  1685	
  1686		return orientation;
  1687	}
  1688	

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation

[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 28526 bytes --]

  parent reply	other threads:[~2017-11-28 20:46 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-11-25 17:33 [PATCH v6 0/7] drm/fbdev: Panel orientation connector property support Hans de Goede
2017-11-25 17:33 ` [PATCH v6 1/7] fbcon: Add fbcon_rotate_hint to struct fb_info Hans de Goede
2017-11-25 17:33 ` [PATCH v6 2/7] drm: Add panel orientation quirks, v6 Hans de Goede
2017-11-25 17:33 ` [PATCH v6 3/7] drm: Add support for a panel-orientation connector property, v6 Hans de Goede
2017-11-25 17:33 ` [PATCH v6 4/7] drm/fb-helper: Apply panel orientation connector prop to the primary plane, v6 Hans de Goede
2017-11-25 17:33 ` [PATCH v6 5/7] drm/i915: Add "panel orientation" property to the panel connector, v6 Hans de Goede
2017-11-28 10:25   ` [Intel-gfx] " Daniel Vetter
2017-11-28 16:48     ` kbuild test robot
2017-11-28 20:46     ` kbuild test robot [this message]
2017-11-25 17:33 ` [PATCH v6 6/7] efifb: Set info->fbcon_rotate_hint based on drm_get_panel_orientation_quirk Hans de Goede
2017-11-25 17:33 ` [PATCH v6 7/7] fbcon: Remove dmi quirk table Hans de Goede
2017-11-25 19:16 ` [PATCH v6 0/7] drm/fbdev: Panel orientation connector property support Hans de Goede
2017-11-25 19:16   ` [PATCH v6 1/7] fbcon: Add fbcon_rotate_hint to struct fb_info Hans de Goede
2017-11-25 19:16   ` [PATCH v6 2/7] drm: Add panel orientation quirks, v6 Hans de Goede
2017-11-25 19:16   ` [PATCH v6 3/7] drm: Add support for a panel-orientation connector property, v6 Hans de Goede
2017-11-25 19:16   ` [PATCH v6 4/7] drm/fb-helper: Apply panel orientation connector prop to the primary plane, v6 Hans de Goede
2017-11-25 19:16   ` [PATCH v6 5/7] drm/i915: Add "panel orientation" property to the panel connector, v6 Hans de Goede
2017-11-25 19:16   ` [PATCH v6 6/7] efifb: Set info->fbcon_rotate_hint based on drm_get_panel_orientation_quirk Hans de Goede
2017-11-25 19:16   ` [PATCH v6 7/7] fbcon: Remove dmi quirk table Hans de Goede
2017-11-28 10:27 ` [Intel-gfx] [PATCH v6 0/7] drm/fbdev: Panel orientation connector property support Daniel Vetter
2017-11-28 13:36   ` Hans de Goede
2017-11-29  9:59     ` Daniel Vetter

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=201711290209.usBYWi9P%fengguang.wu@intel.com \
    --to=lkp@intel.com \
    --cc=linux-fbdev@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).