From: kbuild test robot <lkp@intel.com>
To: Anusha Srivatsa <anusha.srivatsa@intel.com>
Cc: intel-gfx@lists.freedesktop.org,
Rodrigo Vivi <rodrigo.vivi@intel.com>,
Lucas De Marchi <lucas.demarchi@intel.com>,
kbuild-all@01.org, Paulo Zanoni <paulo.r.zanoni@intel.com>
Subject: Re: [PATCH 2/2] drm/i915/icl: implement icl_digital_port_connected()
Date: Thu, 21 Jun 2018 06:43:34 +0800 [thread overview]
Message-ID: <201806210542.lbO7co8J%fengguang.wu@intel.com> (raw)
In-Reply-To: <1529528559-8492-2-git-send-email-anusha.srivatsa@intel.com>
[-- Attachment #1: Type: text/plain, Size: 2247 bytes --]
Hi Paulo,
Thank you for the patch! Yet something to improve:
[auto build test ERROR on drm-intel/for-linux-next]
[also build test ERROR on next-20180620]
[cannot apply to v4.18-rc1]
[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/Anusha-Srivatsa/drm-i915-icp-Add-Interrupt-Support/20180621-052041
base: git://anongit.freedesktop.org/drm-intel for-linux-next
config: x86_64-randconfig-x011-201824 (attached as .config)
compiler: gcc-7 (Debian 7.3.0-16) 7.3.0
reproduce:
# save the attached .config to linux build tree
make ARCH=x86_64
All errors (new ones prefixed by >>):
drivers/gpu/drm/i915/intel_dp.c: In function 'icl_tc_port_connected':
>> drivers/gpu/drm/i915/intel_dp.c:4766:19: error: implicit declaration of function 'ICP_TC_HOTPLUG'; did you mean 'GEN11_TC_HOTPLUG'? [-Werror=implicit-function-declaration]
u32 legacy_bit = ICP_TC_HOTPLUG(tc_port);
^~~~~~~~~~~~~~
GEN11_TC_HOTPLUG
cc1: some warnings being treated as errors
vim +4766 drivers/gpu/drm/i915/intel_dp.c
4760
4761 static bool icl_tc_port_connected(struct drm_i915_private *dev_priv,
4762 struct intel_digital_port *intel_dig_port)
4763 {
4764 enum port port = intel_dig_port->base.port;
4765 enum tc_port tc_port = intel_port_to_tc(dev_priv, port);
> 4766 u32 legacy_bit = ICP_TC_HOTPLUG(tc_port);
4767 u32 typec_bit = GEN11_TC_HOTPLUG(tc_port);
4768 u32 tbt_bit = GEN11_TBT_HOTPLUG(tc_port);
4769 bool is_legacy = false, is_typec = false, is_tbt = false;
4770 u32 cpu_isr;
4771
4772 if (I915_READ(SDEISR) & legacy_bit)
4773 is_legacy = true;
4774
4775 cpu_isr = I915_READ(GEN11_DE_HPD_ISR);
4776 if (cpu_isr & typec_bit)
4777 is_typec = true;
4778 if (cpu_isr & tbt_bit)
4779 is_tbt = true;
4780
4781 WARN_ON(is_legacy + is_typec + is_tbt > 1);
4782 if (!is_legacy && !is_typec && !is_tbt)
4783 return false;
4784
4785 return true;
4786 }
4787
---
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: 34875 bytes --]
[-- Attachment #3: Type: text/plain, Size: 160 bytes --]
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
next prev parent reply other threads:[~2018-06-20 22:44 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-06-20 21:02 [PATCH 1/2] drm/i915/icp: Add Interrupt Support Anusha Srivatsa
2018-06-20 21:02 ` [PATCH 2/2] drm/i915/icl: implement icl_digital_port_connected() Anusha Srivatsa
2018-06-20 22:43 ` kbuild test robot [this message]
2018-06-20 21:50 ` ✗ Fi.CI.BAT: failure for series starting with [1/2] drm/i915/icp: Add Interrupt Support Patchwork
-- strict thread matches above, loose matches on Subject: below --
2018-06-20 21:36 [PATCH 1/2] " Anusha Srivatsa
2018-06-20 21:36 ` [PATCH 2/2] drm/i915/icl: implement icl_digital_port_connected() Anusha Srivatsa
2018-06-30 6:42 ` Lucas De Marchi
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=201806210542.lbO7co8J%fengguang.wu@intel.com \
--to=lkp@intel.com \
--cc=anusha.srivatsa@intel.com \
--cc=intel-gfx@lists.freedesktop.org \
--cc=kbuild-all@01.org \
--cc=lucas.demarchi@intel.com \
--cc=paulo.r.zanoni@intel.com \
--cc=rodrigo.vivi@intel.com \
/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