From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 7FEC8C83F33 for ; Tue, 5 Sep 2023 11:42:49 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 8D70B10E4D3; Tue, 5 Sep 2023 11:42:48 +0000 (UTC) Received: from mgamail.intel.com (mgamail.intel.com [192.55.52.136]) by gabe.freedesktop.org (Postfix) with ESMTPS id D472710E4D7; Tue, 5 Sep 2023 11:42:46 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1693914166; x=1725450166; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=Q8RbTZpvR8BqCfFmIMTLy6/7rh/8GrEuAQsQyFcENA0=; b=aZl1LbYBUK+d5O0UCuXXcQD+V1JHV4WTIx5RnusRVLNSKPV+/na4MEYA 7W3Y8zCjJEpgsMSW0tOWbLV7ehKtpNMnBNPQ2NidErakYgbi7MfUvynFA G8jHWkACtXf3CkxJ0kXaxzBbfqdvYUKOmpJZ+ZA51oCecmRZXMypSLmmk SuA+zcTOCpmhS2CyVk3yZj5snIsDQW0OQcRZHRT0mTpMEMvve61VAdbpE 09HevDfOG4Nwrf5UW34JWY3A24h95sSc7imKaMpZv294wRO6NGWk240Vi 4TUug1IIMFHN12dJbI6p3agQpHOLVsK27iz2hmv1aAYf6Mbxgpluytiat w==; X-IronPort-AV: E=McAfee;i="6600,9927,10823"; a="356268137" X-IronPort-AV: E=Sophos;i="6.02,229,1688454000"; d="scan'208";a="356268137" Received: from orsmga005.jf.intel.com ([10.7.209.41]) by fmsmga106.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 05 Sep 2023 04:42:46 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10823"; a="914808977" X-IronPort-AV: E=Sophos;i="6.02,229,1688454000"; d="scan'208";a="914808977" Received: from lkp-server02.sh.intel.com (HELO e0b2ea88afd5) ([10.239.97.151]) by orsmga005.jf.intel.com with ESMTP; 05 Sep 2023 04:42:44 -0700 Received: from kbuild by e0b2ea88afd5 with local (Exim 4.96) (envelope-from ) id 1qdUS9-0001bf-2w; Tue, 05 Sep 2023 11:42:41 +0000 Date: Tue, 5 Sep 2023 19:42:27 +0800 From: kernel test robot To: Animesh Manna , intel-gfx@lists.freedesktop.org, dri-devel@lists.freedesktop.org Message-ID: <202309051920.FD7yiD3K-lkp@intel.com> References: <20230905073551.958368-4-animesh.manna@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230905073551.958368-4-animesh.manna@intel.com> Subject: Re: [Intel-gfx] [PATCH v5 3/6] drm/i915/panelreplay: Initializaton and compute config for panel replay X-BeenThere: intel-gfx@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Intel graphics driver community testing & development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: jani.nikula@intel.com, llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev Errors-To: intel-gfx-bounces@lists.freedesktop.org Sender: "Intel-gfx" Hi Animesh, kernel test robot noticed the following build errors: [auto build test ERROR on drm-tip/drm-tip] url: https://github.com/intel-lab-lkp/linux/commits/Animesh-Manna/drm-panelreplay-dpcd-register-definition-for-panelreplay/20230905-154811 base: git://anongit.freedesktop.org/drm/drm-tip drm-tip patch link: https://lore.kernel.org/r/20230905073551.958368-4-animesh.manna%40intel.com patch subject: [Intel-gfx] [PATCH v5 3/6] drm/i915/panelreplay: Initializaton and compute config for panel replay config: i386-randconfig-003-20230905 (https://download.01.org/0day-ci/archive/20230905/202309051920.FD7yiD3K-lkp@intel.com/config) compiler: clang version 16.0.4 (https://github.com/llvm/llvm-project.git ae42196bc493ffe877a7e3dff8be32035dea4d07) reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20230905/202309051920.FD7yiD3K-lkp@intel.com/reproduce) If you fix the issue in a separate patch/commit (i.e. not just a new version of the same patch/commit), kindly add following tags | Reported-by: kernel test robot | Closes: https://lore.kernel.org/oe-kbuild-all/202309051920.FD7yiD3K-lkp@intel.com/ All errors (new ones prefixed by >>): >> drivers/gpu/drm/i915/display/intel_dp.c:3779:27: error: overlapping comparisons always evaluate to true [-Werror,-Wtautological-overlap-compare] if (vsc->revision != 0x5 || vsc->revision != 0x7) ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ 1 error generated. vim +3779 drivers/gpu/drm/i915/display/intel_dp.c 3754 3755 static ssize_t intel_dp_vsc_sdp_pack(const struct drm_dp_vsc_sdp *vsc, 3756 struct dp_sdp *sdp, size_t size) 3757 { 3758 size_t length = sizeof(struct dp_sdp); 3759 3760 if (size < length) 3761 return -ENOSPC; 3762 3763 memset(sdp, 0, size); 3764 3765 /* 3766 * Prepare VSC Header for SU as per DP 1.4a spec, Table 2-119 3767 * VSC SDP Header Bytes 3768 */ 3769 sdp->sdp_header.HB0 = 0; /* Secondary-Data Packet ID = 0 */ 3770 sdp->sdp_header.HB1 = vsc->sdp_type; /* Secondary-data Packet Type */ 3771 sdp->sdp_header.HB2 = vsc->revision; /* Revision Number */ 3772 sdp->sdp_header.HB3 = vsc->length; /* Number of Valid Data Bytes */ 3773 3774 /* 3775 * Other than revision 0x5 which supports Pixel Encoding/Colorimetry 3776 * Format as per DP 1.4a spec, revision 0x7 also supports Pixel 3777 * Encoding/Colorimetry Format as per DP 2.0 spec. 3778 */ > 3779 if (vsc->revision != 0x5 || vsc->revision != 0x7) 3780 goto out; 3781 3782 /* VSC SDP Payload for DB16 through DB18 */ 3783 /* Pixel Encoding and Colorimetry Formats */ 3784 sdp->db[16] = (vsc->pixelformat & 0xf) << 4; /* DB16[7:4] */ 3785 sdp->db[16] |= vsc->colorimetry & 0xf; /* DB16[3:0] */ 3786 3787 switch (vsc->bpc) { 3788 case 6: 3789 /* 6bpc: 0x0 */ 3790 break; 3791 case 8: 3792 sdp->db[17] = 0x1; /* DB17[3:0] */ 3793 break; 3794 case 10: 3795 sdp->db[17] = 0x2; 3796 break; 3797 case 12: 3798 sdp->db[17] = 0x3; 3799 break; 3800 case 16: 3801 sdp->db[17] = 0x4; 3802 break; 3803 default: 3804 MISSING_CASE(vsc->bpc); 3805 break; 3806 } 3807 /* Dynamic Range and Component Bit Depth */ 3808 if (vsc->dynamic_range == DP_DYNAMIC_RANGE_CTA) 3809 sdp->db[17] |= 0x80; /* DB17[7] */ 3810 3811 /* Content Type */ 3812 sdp->db[18] = vsc->content_type & 0x7; 3813 3814 out: 3815 return length; 3816 } 3817 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki