All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: kbuild-all@lists.01.org
Subject: Re: [Intel-gfx] [RFC] drm/i915/hdcp: Gen12 HDCP 1.4 support over DP MST
Date: Tue, 01 Sep 2020 23:21:30 +0800	[thread overview]
Message-ID: <202009012307.jB3oWRdZ%lkp@intel.com> (raw)
In-Reply-To: <20200901121041.8793-1-anshuman.gupta@intel.com>

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

Hi Anshuman,

[FYI, it's a private test report for your RFC patch.]
[auto build test ERROR on drm-intel/for-linux-next]
[also build test ERROR on drm-tip/drm-tip]
[cannot apply to v5.9-rc3 next-20200828]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch]

url:    https://github.com/0day-ci/linux/commits/Anshuman-Gupta/drm-i915-hdcp-Gen12-HDCP-1-4-support-over-DP-MST/20200901-202424
base:   git://anongit.freedesktop.org/drm-intel for-linux-next
config: x86_64-randconfig-a006-20200901 (attached as .config)
compiler: gcc-9 (Debian 9.3.0-15) 9.3.0
reproduce (this is a W=1 build):
        # save the attached .config to linux build tree
        make W=1 ARCH=x86_64 

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>

All errors (new ones prefixed by >>):

   drivers/gpu/drm/i915/display/intel_hdcp.c: In function '_intel_hdcp_disable':
>> drivers/gpu/drm/i915/display/intel_hdcp.c:805:6: error: 'intel_dig_port' undeclared (first use in this function); did you mean 'intel_digital_port'?
     805 |  if (intel_dig_port->num_hdcp_streams > 0) {
         |      ^~~~~~~~~~~~~~
         |      intel_digital_port
   drivers/gpu/drm/i915/display/intel_hdcp.c:805:6: note: each undeclared identifier is reported only once for each function it appears in
--
   drivers/gpu/drm/i915/display/intel_dp_hdcp.c: In function 'intel_dp_mst_hdcp_strem_encryption':
>> drivers/gpu/drm/i915/display/intel_dp_hdcp.c:670:42: error: 'idig_port' undeclared (first use in this function); did you mean 'dig_port'?
     670 |  struct drm_i915_private *i915 = to_i915(idig_port->base.base.dev);
         |                                          ^~~~~~~~~
         |                                          dig_port
   drivers/gpu/drm/i915/display/intel_dp_hdcp.c:670:42: note: each undeclared identifier is reported only once for each function it appears in

# https://github.com/0day-ci/linux/commit/d6c89b9a28b4d968e8b014579048586fc79214dc
git remote add linux-review https://github.com/0day-ci/linux
git fetch --no-tags linux-review Anshuman-Gupta/drm-i915-hdcp-Gen12-HDCP-1-4-support-over-DP-MST/20200901-202424
git checkout d6c89b9a28b4d968e8b014579048586fc79214dc
vim +805 drivers/gpu/drm/i915/display/intel_hdcp.c

   786	
   787	static int _intel_hdcp_disable(struct intel_connector *connector)
   788	{
   789		struct intel_digital_port *dig_port = intel_attached_dig_port(connector);
   790		struct drm_i915_private *dev_priv = to_i915(connector->base.dev);
   791		struct intel_hdcp *hdcp = &connector->hdcp;
   792		enum port port = dig_port->base.port;
   793		enum transcoder cpu_transcoder = hdcp->cpu_transcoder;
   794		u32 repeater_ctl;
   795		int ret;
   796	
   797		drm_dbg_kms(&dev_priv->drm, "[%s:%d] HDCP is being disabled...\n",
   798			    connector->base.name, connector->base.base.id);
   799	
   800		/*
   801		 * If there are other connectors on this port using HDCP, don't disable
   802		 * it. Instead, toggle the HDCP signalling off on that particular
   803		 * connector/pipe and exit.
   804		 */
 > 805		if (intel_dig_port->num_hdcp_streams > 0) {
   806			if (hdcp->shim->toggle_select_hdcp) {
   807				ret = hdcp->shim->toggle_select_hdcp(dig_port, false);
   808				if (ret)
   809					DRM_ERROR("Failed to disable HDCP signalling\n");
   810				return ret;
   811			}
   812		}
   813	
   814		hdcp->hdcp_encrypted = false;
   815		intel_de_write(dev_priv, HDCP_CONF(dev_priv, cpu_transcoder, port), 0);
   816		if (intel_de_wait_for_clear(dev_priv,
   817					    HDCP_STATUS(dev_priv, cpu_transcoder, port),
   818					    ~0, ENCRYPT_STATUS_CHANGE_TIMEOUT_MS)) {
   819			drm_err(&dev_priv->drm,
   820				"Failed to disable HDCP, timeout clearing status\n");
   821			return -ETIMEDOUT;
   822		}
   823	
   824		repeater_ctl = intel_hdcp_get_repeater_ctl(dev_priv, cpu_transcoder,
   825							   port);
   826		intel_de_write(dev_priv, HDCP_REP_CTL,
   827			       intel_de_read(dev_priv, HDCP_REP_CTL) & ~repeater_ctl);
   828	
   829		ret = hdcp->shim->toggle_signalling(dig_port, cpu_transcoder, false);
   830		if (ret) {
   831			drm_err(&dev_priv->drm, "Failed to disable HDCP signalling\n");
   832			return ret;
   833		}
   834	
   835		drm_dbg_kms(&dev_priv->drm, "HDCP is disabled\n");
   836		return 0;
   837	}
   838	

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org

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

  parent reply	other threads:[~2020-09-01 15:21 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-09-01 12:10 [Intel-gfx] [RFC] drm/i915/hdcp: Gen12 HDCP 1.4 support over DP MST Anshuman Gupta
2020-09-01 12:40 ` [Intel-gfx] ✗ Fi.CI.BUILD: failure for " Patchwork
2020-09-01 13:57 ` [Intel-gfx] [RFC] " Sean Paul
2020-09-02  7:45   ` Anshuman Gupta
2020-09-01 15:21 ` kernel test robot [this message]
2020-09-01 17:45 ` kernel test robot

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=202009012307.jB3oWRdZ%lkp@intel.com \
    --to=lkp@intel.com \
    --cc=kbuild-all@lists.01.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.