From: kernel test robot <lkp@intel.com> To: Animesh Manna <animesh.manna@intel.com> Cc: llvm@lists.linux.dev, kbuild-all@lists.01.org Subject: Re: [Intel-gfx] [RFC 3/5] drm/i915/panelreplay: Initializaton and compute config for panel replay Date: Wed, 8 Sep 2021 22:07:11 +0800 [thread overview] Message-ID: <202109082111.9FZDyzu9-lkp@intel.com> (raw) In-Reply-To: <20210908091544.13772-4-animesh.manna@intel.com> [-- Attachment #1: Type: text/plain, Size: 3887 bytes --] Hi Animesh, [FYI, it's a private test report for your RFC patch.] [auto build test WARNING on drm-tip/drm-tip] [cannot apply to drm-intel/for-linux-next linus/master v5.14 next-20210908] [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/Animesh-Manna/Panel-replay-phase1-implementation/20210908-174047 base: git://anongit.freedesktop.org/drm/drm-tip drm-tip config: x86_64-randconfig-a016-20210908 (attached as .config) compiler: clang version 14.0.0 (https://github.com/llvm/llvm-project 9c476172b93367d2cb88d7d3f4b1b5b456fa6020) reproduce (this is a W=1 build): wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross # https://github.com/0day-ci/linux/commit/bf8dbe6cdf67f84e31710ceda7384ed0a7af1462 git remote add linux-review https://github.com/0day-ci/linux git fetch --no-tags linux-review Animesh-Manna/Panel-replay-phase1-implementation/20210908-174047 git checkout bf8dbe6cdf67f84e31710ceda7384ed0a7af1462 # save the attached .config to linux build tree COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=x86_64 If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot <lkp@intel.com> All warnings (new ones prefixed by >>): >> drivers/gpu/drm/i915/display/intel_dp.c:2752:27: warning: overlapping comparisons always evaluate to true [-Wtautological-overlap-compare] if (vsc->revision != 0x5 || vsc->revision != 0x7) ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ 1 warning generated. vim +2752 drivers/gpu/drm/i915/display/intel_dp.c 2728 2729 static ssize_t intel_dp_vsc_sdp_pack(const struct drm_dp_vsc_sdp *vsc, 2730 struct dp_sdp *sdp, size_t size) 2731 { 2732 size_t length = sizeof(struct dp_sdp); 2733 2734 if (size < length) 2735 return -ENOSPC; 2736 2737 memset(sdp, 0, size); 2738 2739 /* 2740 * Prepare VSC Header for SU as per DP 1.4a spec, Table 2-119 2741 * VSC SDP Header Bytes 2742 */ 2743 sdp->sdp_header.HB0 = 0; /* Secondary-Data Packet ID = 0 */ 2744 sdp->sdp_header.HB1 = vsc->sdp_type; /* Secondary-data Packet Type */ 2745 sdp->sdp_header.HB2 = vsc->revision; /* Revision Number */ 2746 sdp->sdp_header.HB3 = vsc->length; /* Number of Valid Data Bytes */ 2747 2748 /* 2749 * Revision 0x5 and 0x7 supports Pixel Encoding/Colorimetry Format as 2750 * per DP 1.4a spec and DP 2.0 spec respectively. 2751 */ > 2752 if (vsc->revision != 0x5 || vsc->revision != 0x7) 2753 goto out; 2754 2755 /* VSC SDP Payload for DB16 through DB18 */ 2756 /* Pixel Encoding and Colorimetry Formats */ 2757 sdp->db[16] = (vsc->pixelformat & 0xf) << 4; /* DB16[7:4] */ 2758 sdp->db[16] |= vsc->colorimetry & 0xf; /* DB16[3:0] */ 2759 2760 switch (vsc->bpc) { 2761 case 6: 2762 /* 6bpc: 0x0 */ 2763 break; 2764 case 8: 2765 sdp->db[17] = 0x1; /* DB17[3:0] */ 2766 break; 2767 case 10: 2768 sdp->db[17] = 0x2; 2769 break; 2770 case 12: 2771 sdp->db[17] = 0x3; 2772 break; 2773 case 16: 2774 sdp->db[17] = 0x4; 2775 break; 2776 default: 2777 MISSING_CASE(vsc->bpc); 2778 break; 2779 } 2780 /* Dynamic Range and Component Bit Depth */ 2781 if (vsc->dynamic_range == DP_DYNAMIC_RANGE_CTA) 2782 sdp->db[17] |= 0x80; /* DB17[7] */ 2783 2784 /* Content Type */ 2785 sdp->db[18] = vsc->content_type & 0x7; 2786 2787 out: 2788 return length; 2789 } 2790 --- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org [-- Attachment #2: .config.gz --] [-- Type: application/gzip, Size: 39606 bytes --]
WARNING: multiple messages have this Message-ID (diff)
From: kernel test robot <lkp@intel.com> To: kbuild-all@lists.01.org Subject: Re: [Intel-gfx] [RFC 3/5] drm/i915/panelreplay: Initializaton and compute config for panel replay Date: Wed, 08 Sep 2021 22:07:11 +0800 [thread overview] Message-ID: <202109082111.9FZDyzu9-lkp@intel.com> (raw) In-Reply-To: <20210908091544.13772-4-animesh.manna@intel.com> [-- Attachment #1: Type: text/plain, Size: 3992 bytes --] Hi Animesh, [FYI, it's a private test report for your RFC patch.] [auto build test WARNING on drm-tip/drm-tip] [cannot apply to drm-intel/for-linux-next linus/master v5.14 next-20210908] [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/Animesh-Manna/Panel-replay-phase1-implementation/20210908-174047 base: git://anongit.freedesktop.org/drm/drm-tip drm-tip config: x86_64-randconfig-a016-20210908 (attached as .config) compiler: clang version 14.0.0 (https://github.com/llvm/llvm-project 9c476172b93367d2cb88d7d3f4b1b5b456fa6020) reproduce (this is a W=1 build): wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross # https://github.com/0day-ci/linux/commit/bf8dbe6cdf67f84e31710ceda7384ed0a7af1462 git remote add linux-review https://github.com/0day-ci/linux git fetch --no-tags linux-review Animesh-Manna/Panel-replay-phase1-implementation/20210908-174047 git checkout bf8dbe6cdf67f84e31710ceda7384ed0a7af1462 # save the attached .config to linux build tree COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=x86_64 If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot <lkp@intel.com> All warnings (new ones prefixed by >>): >> drivers/gpu/drm/i915/display/intel_dp.c:2752:27: warning: overlapping comparisons always evaluate to true [-Wtautological-overlap-compare] if (vsc->revision != 0x5 || vsc->revision != 0x7) ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ 1 warning generated. vim +2752 drivers/gpu/drm/i915/display/intel_dp.c 2728 2729 static ssize_t intel_dp_vsc_sdp_pack(const struct drm_dp_vsc_sdp *vsc, 2730 struct dp_sdp *sdp, size_t size) 2731 { 2732 size_t length = sizeof(struct dp_sdp); 2733 2734 if (size < length) 2735 return -ENOSPC; 2736 2737 memset(sdp, 0, size); 2738 2739 /* 2740 * Prepare VSC Header for SU as per DP 1.4a spec, Table 2-119 2741 * VSC SDP Header Bytes 2742 */ 2743 sdp->sdp_header.HB0 = 0; /* Secondary-Data Packet ID = 0 */ 2744 sdp->sdp_header.HB1 = vsc->sdp_type; /* Secondary-data Packet Type */ 2745 sdp->sdp_header.HB2 = vsc->revision; /* Revision Number */ 2746 sdp->sdp_header.HB3 = vsc->length; /* Number of Valid Data Bytes */ 2747 2748 /* 2749 * Revision 0x5 and 0x7 supports Pixel Encoding/Colorimetry Format as 2750 * per DP 1.4a spec and DP 2.0 spec respectively. 2751 */ > 2752 if (vsc->revision != 0x5 || vsc->revision != 0x7) 2753 goto out; 2754 2755 /* VSC SDP Payload for DB16 through DB18 */ 2756 /* Pixel Encoding and Colorimetry Formats */ 2757 sdp->db[16] = (vsc->pixelformat & 0xf) << 4; /* DB16[7:4] */ 2758 sdp->db[16] |= vsc->colorimetry & 0xf; /* DB16[3:0] */ 2759 2760 switch (vsc->bpc) { 2761 case 6: 2762 /* 6bpc: 0x0 */ 2763 break; 2764 case 8: 2765 sdp->db[17] = 0x1; /* DB17[3:0] */ 2766 break; 2767 case 10: 2768 sdp->db[17] = 0x2; 2769 break; 2770 case 12: 2771 sdp->db[17] = 0x3; 2772 break; 2773 case 16: 2774 sdp->db[17] = 0x4; 2775 break; 2776 default: 2777 MISSING_CASE(vsc->bpc); 2778 break; 2779 } 2780 /* Dynamic Range and Component Bit Depth */ 2781 if (vsc->dynamic_range == DP_DYNAMIC_RANGE_CTA) 2782 sdp->db[17] |= 0x80; /* DB17[7] */ 2783 2784 /* Content Type */ 2785 sdp->db[18] = vsc->content_type & 0x7; 2786 2787 out: 2788 return length; 2789 } 2790 --- 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: 39606 bytes --]
next prev parent reply other threads:[~2021-09-08 14:08 UTC|newest] Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top 2021-09-08 9:15 [Intel-gfx] [RFC 0/5] Panel replay phase1 implementation Animesh Manna 2021-09-08 9:15 ` [Intel-gfx] [RFC 1/5] drm/i915/panelreplay: update plane selective fetch register definition Animesh Manna 2021-09-08 19:26 ` Souza, Jose 2021-09-08 19:39 ` Manna, Animesh 2021-09-08 9:15 ` [Intel-gfx] [RFC 2/5] drm/i915/panelreplay: Feature flag added for panel replay Animesh Manna 2021-09-08 19:29 ` Souza, Jose 2021-09-08 9:15 ` [Intel-gfx] [RFC 3/5] drm/i915/panelreplay: Initializaton and compute config " Animesh Manna 2021-09-08 12:52 ` kernel test robot 2021-09-08 12:52 ` kernel test robot 2021-09-08 14:07 ` kernel test robot [this message] 2021-09-08 14:07 ` kernel test robot 2021-09-08 19:31 ` Souza, Jose 2021-09-08 19:50 ` Manna, Animesh 2021-09-08 19:55 ` Souza, Jose 2021-09-08 9:15 ` [Intel-gfx] [RFC 4/5] drm/i915/panelreplay: enable/disable " Animesh Manna 2021-09-08 19:41 ` Souza, Jose 2021-09-08 9:15 ` [Intel-gfx] [RFC 5/5] drm/i915/panelreplay: Added state checker for panel replay state Animesh Manna 2021-09-08 10:32 ` [Intel-gfx] ✗ Fi.CI.CHECKPATCH: warning for Panel replay phase1 implementation Patchwork 2021-09-08 10:34 ` [Intel-gfx] ✗ Fi.CI.SPARSE: " Patchwork 2021-09-08 11:04 ` [Intel-gfx] ✓ Fi.CI.BAT: success " Patchwork 2021-09-08 14:19 ` [Intel-gfx] ✗ Fi.CI.IGT: failure " Patchwork
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=202109082111.9FZDyzu9-lkp@intel.com \ --to=lkp@intel.com \ --cc=animesh.manna@intel.com \ --cc=kbuild-all@lists.01.org \ --cc=llvm@lists.linux.dev \ /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: linkBe 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.