tree: git://anongit.freedesktop.org/drm/drm-tip drm-tip head: da94f258bbf0786f7578d4804a77ce75cf58777f commit: b41c97d7270b82207c5edc7c2d67337b15918462 [8/11] Merge remote-tracking branch 'drm-intel/drm-intel-next-queued' into drm-tip config: x86_64-randconfig-x009-201749 (attached as .config) compiler: gcc-7 (Debian 7.2.0-12) 7.2.1 20171025 reproduce: git checkout b41c97d7270b82207c5edc7c2d67337b15918462 # 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:1673:13: error: storage size of 'plane' isn't known enum plane plane; ^~~~~ >> drivers/gpu//drm/i915/intel_dsi.c:1673:13: error: unused variable 'plane' [-Werror=unused-variable] cc1: all warnings being treated as errors vim +/plane +1673 drivers/gpu//drm/i915/intel_dsi.c 4e646495 Jani Nikula 2013-08-27 1668 82daca29 Hans de Goede 2017-11-25 1669 static int intel_dsi_get_panel_orientation(struct intel_connector *connector) 82daca29 Hans de Goede 2017-11-25 1670 { 82daca29 Hans de Goede 2017-11-25 1671 struct drm_i915_private *dev_priv = to_i915(connector->base.dev); 82daca29 Hans de Goede 2017-11-25 1672 int orientation = DRM_MODE_PANEL_ORIENTATION_NORMAL; 82daca29 Hans de Goede 2017-11-25 @1673 enum plane plane; 82daca29 Hans de Goede 2017-11-25 1674 u32 val; 82daca29 Hans de Goede 2017-11-25 1675 82daca29 Hans de Goede 2017-11-25 1676 if (IS_VALLEYVIEW(dev_priv) || IS_CHERRYVIEW(dev_priv)) { 82daca29 Hans de Goede 2017-11-25 1677 if (connector->encoder->crtc_mask == BIT(PIPE_B)) 82daca29 Hans de Goede 2017-11-25 1678 plane = PLANE_B; 82daca29 Hans de Goede 2017-11-25 1679 else 82daca29 Hans de Goede 2017-11-25 1680 plane = PLANE_A; 82daca29 Hans de Goede 2017-11-25 1681 82daca29 Hans de Goede 2017-11-25 1682 val = I915_READ(DSPCNTR(plane)); 82daca29 Hans de Goede 2017-11-25 1683 if (val & DISPPLANE_ROTATE_180) 82daca29 Hans de Goede 2017-11-25 1684 orientation = DRM_MODE_PANEL_ORIENTATION_BOTTOM_UP; 82daca29 Hans de Goede 2017-11-25 1685 } 82daca29 Hans de Goede 2017-11-25 1686 82daca29 Hans de Goede 2017-11-25 1687 return orientation; 82daca29 Hans de Goede 2017-11-25 1688 } 82daca29 Hans de Goede 2017-11-25 1689 :::::: The code at line 1673 was first introduced by commit :::::: 82daca297506a93354a532f7a08654ef3a646924 drm/i915: Add "panel orientation" property to the panel connector, v6. :::::: TO: Hans de Goede <j.w.r.degoede@xxxxxxxxx> :::::: CC: Hans de Goede <hdegoede@xxxxxxxxxx> --- 0-DAY kernel test infrastructure Open Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation
Attachment:
.config.gz
Description: application/gzip
_______________________________________________ dri-devel mailing list dri-devel@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/dri-devel